Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit b209145

Browse files
author
Nick Litwin
committed
Add proper phaseTypes
1 parent ebbd3a0 commit b209145

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/submissions/submissions.routes.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,12 @@
4646
var isPhaseSubmission = _.some(challenge.currentPhases, function(phase) {
4747
if (phase.phaseStatus === 'Open') {
4848
if (phase.phaseType === 'Submission') {
49-
phaseType = 'Submission';
49+
phaseType = 'SUBMISSION';
5050
phaseId = phase.id;
5151
return true;
5252

5353
} else if (phase.phaseType === 'Checkpoint Submission') {
54-
phaseType = 'Checkpoint_Submission';
54+
phaseType = 'CHECKPOINT_SUBMISSION';
5555
phaseId = phase.id;
5656
return true;
5757
}

0 commit comments

Comments
 (0)