Skip to content

Commit 6255831

Browse files
committed
fix: incorrect filter
1 parent f761e06 commit 6255831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phase-management/PhaseAdvancer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ class PhaseAdvancer {
106106

107107
async advancePhase(challengeId, legacyId, phases, operation, phaseName) {
108108
const matchedPhases = phases
109-
// .filter((phase) => phase.actualEndDate == null && phase.name === phaseName)
109+
.filter((phase) => phase.actualEndDate == null && phase.name === phaseName)
110110
.sort((a, b) => new Date(a.scheduledStartDate) - new Date(b.scheduledStartDate));
111111

112112
if (matchedPhases.length === 0) {

0 commit comments

Comments
 (0)