Skip to content

Commit 85db099

Browse files
authored
Update list.js
1 parent 6015431 commit 85db099

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/projects/list.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,7 +431,7 @@ module.exports = [
431431
if (!memberOnly
432432
&& (util.hasAdminRole(req)
433433
|| util.hasRole(req, USER_ROLE.MANAGER)
434-
|| util.hasRole(req, USER_ROLE.ACCOUNT_MANAGER))) {
434+
|| util.hasRole(req, USER_ROLE.TOPCODER_ACCOUNT_MANAGER))) {
435435
// admins & topcoder managers can see all projects
436436
return retrieveProjects(req, criteria, sort, req.query.fields)
437437
.then(result => res.json(util.wrapResponse(req.id, result.rows, result.count)))

0 commit comments

Comments
 (0)