Skip to content

Commit 3338508

Browse files
Merge pull request #305 from topcoder-platform/fix/PLAT-2575
remove incorrect yield
2 parents fa2f96e + 42e1652 commit 3338508

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)