Skip to content

Commit 3ac9e52

Browse files
committed
debug email notifications
1 parent c3626b8 commit 3ac9e52

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -853,9 +853,9 @@ const projectServiceUtils = {
853853
Authorization: `Bearer ${token}`,
854854
},
855855
}).then((res) => {
856-
const roles = res.result.content;
856+
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)