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

Commit dd62e26

Browse files
add task flag for private tasks
1 parent cc222bd commit dd62e26

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ async function parsePayload (payload, m2mToken, isCreated = true) {
9999
data.subTrack = typeRes.body.abbreviation // FIXME: thomas
100100
// TASK is named as FIRST_2_FINISH on legacy
101101
if (data.subTrack === constants.challengeAbbreviations.TASK) {
102+
data.task = true
102103
data.subTrack = constants.challengeAbbreviations.FIRST_2_FINISH
103104
}
104105
data.legacyTypeId = typeRes.body.legacyId

0 commit comments

Comments
 (0)