From 6c2547609b64d3ed4e2b00683fae67619be97341 Mon Sep 17 00:00:00 2001 From: Dhruvit Raithatha Date: Fri, 24 Nov 2023 14:30:27 +0530 Subject: [PATCH] fix: TC challenge creation fails --- utils/topcoder-api-helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/topcoder-api-helper.js b/utils/topcoder-api-helper.js index a57730b..baa8590 100644 --- a/utils/topcoder-api-helper.js +++ b/utils/topcoder-api-helper.js @@ -76,7 +76,7 @@ async function createChallenge(challenge) { }], timelineTemplateId: config.DEFAULT_TIMELINE_TEMPLATE_ID, projectId: challenge.projectId, - tags: challenge.tags.map((tag) => tag.name), + tags: challenge.tags, trackId: config.DEFAULT_TRACK_ID, legacy: { pureV5Task: true