Skip to content

Commit 79aeefd

Browse files
Merge pull request #276 from topcoder-platform/issue_reviewer_role
adjust error name
2 parents 3d40d40 + 32c59f1 commit 79aeefd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/common/helper.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ function * checkCreateAccess (authUser, subEntity) {
462462
// Check if the User is assigned as the iterative reviewer for the contest
463463
const iterativeReviewers = _.filter(currUserRoles, { role: 'Iterative Reviewer' })
464464
if (iterativeReviewers.length !== 0) {
465-
throw new errors.HttpStatusError(400, `You cannot create a submission for a challenge while you are a iterative reviewer`)
465+
throw new errors.HttpStatusError(400, `You cannot create a submission for a challenge while you are an iterative reviewer`)
466466
}
467467

468468
// Check if the User is registered for the contest

0 commit comments

Comments
 (0)