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

Commit bf7172b

Browse files
committed
Revert "Test for phase syncing for multi-round challenges"
This reverts commit 0959e0b.
1 parent 0959e0b commit bf7172b

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/constants.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ const PhaseStatusTypes = {
7171
Closed: 3
7272
}
7373

74-
const CheckpointPhaseTypes = {
75-
Submission: 'Checkpoint Submission',
76-
Screening: 'Checkpoint Screening',
77-
Review: 'Checkpoint Review',
78-
}
79-
8074
const prizeTypesIds = {
8175
Contest: 15,
8276
Checkpoint: 14
@@ -172,7 +166,6 @@ module.exports = {
172166
createChallengeStatusesMap,
173167
challengeStatuses,
174168
PhaseStatusTypes,
175-
CheckpointPhaseTypes,
176169
prizeTypesIds,
177170
supportedMetadata,
178171
scorecardQuestionMapping

src/services/ProcessorService.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -658,11 +658,6 @@ async function processMessage (message) {
658658
if (_.get(message, 'payload.legacy.selfService')) {
659659
await disableTimelineNotifications(legacyId, createdByUserId) // disable
660660
}
661-
} else {
662-
const v5PhaseType = _.find(message.payload.phases, p => p.name === constants.CheckpointPhaseTypes.Submission)
663-
if (v5PhaseType) {
664-
await recreatePhases(legacyId, message.payload.phases, updatedByUserId)
665-
}
666661
}
667662

668663
logger.debug('Result from parsePayload:')

0 commit comments

Comments
 (0)