Skip to content

Commit 4d3d794

Browse files
committed
chore: add comment
Signed-off-by: Rakib Ansary <rakibansary@topcoder.com>
1 parent d4bf9f1 commit 4d3d794

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/services/ChallengeService.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,6 +2253,8 @@ async function advancePhase(currentUser, challengeId, data) {
22532253
const updatedChallenge = await challengeDomain.lookup(getLookupCriteria("id", challengeId));
22542254
await indexChallengeAndPostToKafka(updatedChallenge);
22552255

2256+
// TODO: This is a temporary solution to update the challenge status to Completed; We currently do not have a way to get winner list using v5 data
2257+
// TODO: With the implementation of v5 review API we'll develop a mechanism to maintain the winner list in v5 data that challenge-api can use to create the winners list
22562258
if (phaseAdvancerResult.hasWinningSubmission === true) {
22572259
challengeDomain.update(
22582260
{

0 commit comments

Comments
 (0)