Skip to content

Commit 42e1652

Browse files
remove incorrect yield
1 parent 62d1260 commit 42e1652

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
@@ -455,7 +455,7 @@ function * checkCreateAccess (authUser, subEntity, challengeDetails) {
455455
throw new errors.HttpStatusError(403, `Register for the contest before you can submit`)
456456
}
457457

458-
const submissionPhaseId = yield getSubmissionPhaseId(challengeDetails)
458+
const submissionPhaseId = getSubmissionPhaseId(challengeDetails)
459459

460460
if (submissionPhaseId == null) {
461461
throw new errors.HttpStatusError(403, 'You cannot create a submission in the current phase')

0 commit comments

Comments
 (0)