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

Commit 95937a3

Browse files
committed
Test for tags and start date, which are now required
1 parent ec1d689 commit 95937a3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

utils/topcoder-api-helper.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ async function createChallenge(challenge) {
7676
timelineTemplateId: config.DEFAULT_TIMELINE_TEMPLATE_ID,
7777
projectId: challenge.projectId,
7878
trackId: config.DEFAULT_TRACK_ID,
79-
legacy:{
80-
pureV5Task: true
81-
}
79+
// legacy:{
80+
// pureV5Task: true
81+
// },
82+
tags:['Other'],
83+
startDate: new Date()
8284
});
8385
try {
8486
const response = await axios.post(`${config.TC_API_URL}/challenges`, body, {

0 commit comments

Comments
 (0)