This repository was archived by the owner on Mar 13, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -67,5 +67,5 @@ module.exports = {
67
67
ROLE_ID_SUBMITTER : process . env . ROLE_ID_SUBMITTER || '732339e7-8e30-49d7-9198-cccf9451e221' ,
68
68
TYPE_ID_TASK : process . env . TYPE_ID_TASK || 'ecd58c69-238f-43a4-a4bb-d172719b9f31' ,
69
69
DEFAULT_TIMELINE_TEMPLATE_ID : process . env . DEFAULT_TIMELINE_TEMPLATE_ID || '53a307ce-b4b3-4d6f-b9a1-3741a58f77e6' ,
70
- DEFAULT_TRACK_ID : process . env . DEFAULT_TIMELINE_TEMPLATE_ID || '9b6fc876-f4d9-4ccb-9dfd-419247628825'
70
+ DEFAULT_TRACK_ID : process . env . DEFAULT_TRACK_ID || '9b6fc876-f4d9-4ccb-9dfd-419247628825'
71
71
} ;
Original file line number Diff line number Diff line change @@ -75,7 +75,12 @@ async function createChallenge(challenge) {
75
75
} ] ,
76
76
timelineTemplateId : config . DEFAULT_TIMELINE_TEMPLATE_ID ,
77
77
projectId : challenge . projectId ,
78
- trackId : config . DEFAULT_TRACK_ID
78
+ trackId : config . DEFAULT_TRACK_ID ,
79
+ // legacy:{
80
+ // pureV5Task: true
81
+ // },
82
+ tags :[ 'Other' ] ,
83
+ startDate : new Date ( )
79
84
} ) ;
80
85
try {
81
86
const response = await axios . post ( `${ config . TC_API_URL } /challenges` , body , {
You can’t perform that action at this time.
0 commit comments