From 8588b8f68fe2ffe89f398254d65ac87ef37a5167 Mon Sep 17 00:00:00 2001 From: "Luiz R. Rodrigues" Date: Thu, 23 Jul 2020 09:49:31 -0300 Subject: [PATCH] Pass old groups ids to filter --- src/shared/actions/tc-communities/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/actions/tc-communities/index.js b/src/shared/actions/tc-communities/index.js index 4b14591442..c2f30c6ea9 100644 --- a/src/shared/actions/tc-communities/index.js +++ b/src/shared/actions/tc-communities/index.js @@ -38,7 +38,7 @@ function getListInit(uuid) { * @return {Promise} */ function getListDone(uuid, auth) { - const groups = _.get(auth, 'profile.groups', []).map(g => g.id); + const groups = _.get(auth, 'profile.groups', []).map(g => g.oldId); return getCommunitiesService(auth.tokenV3) .getList(groups).then(list => ({ list, uuid })); }