Skip to content

Commit fe03534

Browse files
authored
Merge pull request #860 from topcoder-platform/pm-2435
fix(PM-2435): identity service response structure
2 parents 4a052d9 + 3df6527 commit fe03534

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ workflows:
149149
context : org-global
150150
filters:
151151
branches:
152-
only: ['develop', 'migration-setup', 'PM-1612', 'fix-2321']
152+
only: ['develop', 'migration-setup', 'PM-1612', 'fix-2321', 'pm-2435']
153153
- deployProd:
154154
context : org-global
155155
filters:

src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ const projectServiceUtils = {
855855
}).then((res) => {
856856
const roles = res.data;
857857
logger.debug(`Roles by ${roleName}: ${JSON.stringify(roles)}`);
858-
return roles
858+
return roles.result.content
859859
.filter(item => item.roleName === roleName)
860860
.map(r => r.id);
861861
});

0 commit comments

Comments
 (0)