Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/common/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ function * checkCreateAccess (authUser, subEntity) {
// Check if the User is assigned as the iterative reviewer for the contest
const iterativeReviewers = _.filter(currUserRoles, { role: 'Iterative Reviewer' })
if (iterativeReviewers.length !== 0) {
throw new errors.HttpStatusError(400, `You cannot create a submission for a challenge while you are a iterative reviewer`)
throw new errors.HttpStatusError(400, `You cannot create a submission for a challenge while you are an iterative reviewer`)
}

// Check if the User is registered for the contest
Expand Down