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

Commit ec1d689

Browse files
committed
Setup for pure v5 tasks
1 parent 627f385 commit ec1d689

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

utils/topcoder-api-helper.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,10 @@ async function createChallenge(challenge) {
7575
}],
7676
timelineTemplateId: config.DEFAULT_TIMELINE_TEMPLATE_ID,
7777
projectId: challenge.projectId,
78-
trackId: config.DEFAULT_TRACK_ID
78+
trackId: config.DEFAULT_TRACK_ID,
79+
legacy:{
80+
pureV5Task: true
81+
}
7982
});
8083
try {
8184
const response = await axios.post(`${config.TC_API_URL}/challenges`, body, {

0 commit comments

Comments
 (0)