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

Commit e55753a

Browse files
author
James Cori
committed
Wrong phase object
1 parent c464bcc commit e55753a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -695,7 +695,7 @@ async function processMessage (message) {
695695
}
696696

697697
if (!_.get(message.payload, 'task.isTask')) {
698-
await syncChallengePhases(legacyId, challenge.phases)
698+
await syncChallengePhases(legacyId, message.payload.phases)
699699
} else {
700700
logger.info('Will skip syncing phases as the challenge is a task...')
701701
}

0 commit comments

Comments
 (0)