Skip to content

Commit a225915

Browse files
author
Sachin Maheshwari
committed
correcting phaseid mapping
1 parent b34e69c commit a225915

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
@@ -459,7 +459,7 @@ function * checkCreateAccess (authUser, subEntity) {
459459
throw new errors.HttpStatusError(403, 'You are not allowed to submit when submission phase is not open')
460460
}
461461

462-
const currPhase = _.filter(phases, { id: submissionPhaseId })
462+
const currPhase = _.filter(phases, { phaseId: submissionPhaseId })
463463

464464
if (currPhase[0].name === 'Final Fix') {
465465
if (!authUser.handle.equals(winner[0].handle)) {

0 commit comments

Comments
 (0)