Skip to content

Commit 42a788e

Browse files
authored
Update create.js
1 parent 721d68e commit 42a788e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/projectMembers/create.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ module.exports = [
5353
}
5454
} else if (util.hasRoles(req, [USER_ROLE.MANAGER, USER_ROLE.CONNECT_ADMIN])) {
5555
targetRole = PROJECT_MEMBER_ROLE.MANAGER;
56-
} else if (util.hasRoles(req, [USER_ROLE.ACCOUNT_MANAGER])) {
57-
targetRole = PROJECT_MEMBER_ROLE.TOPCODER_ACCOUNT_MANAGER;
56+
} else if (util.hasRoles(req, [USER_ROLE.TOPCODER_ACCOUNT_MANAGER])) {
57+
targetRole = PROJECT_MEMBER_ROLE.ACCOUNT_MANAGER;
5858
} else if (util.hasRoles(req, [USER_ROLE.COPILOT, USER_ROLE.CONNECT_ADMIN])) {
5959
targetRole = PROJECT_MEMBER_ROLE.COPILOT;
6060
} else {

0 commit comments

Comments
 (0)