From afc7308b85d16c5a662244b1e06eab33d06dce96 Mon Sep 17 00:00:00 2001 From: vikasrohit Date: Thu, 2 Sep 2021 12:07:43 +0530 Subject: [PATCH] Pointing to v5 skills api instead of v5.1 --- src/common/helper.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/helper.js b/src/common/helper.js index 4d2f1dab..cddd62fc 100644 --- a/src/common/helper.js +++ b/src/common/helper.js @@ -1220,7 +1220,7 @@ async function getTopcoderSkills (criteria) { const token = await getM2MUbahnToken() try { const res = await request - .get(`${config.TC_BETA_API}/skills`) + .get(`${config.TC_API}/skills`) .query({ taxonomyId: config.TOPCODER_TAXONOMY_ID, ...criteria @@ -1272,7 +1272,7 @@ async function getAllTopcoderSkills (criteria) { async function getSkillById (skillId) { const token = await getM2MUbahnToken() const res = await request - .get(`${config.TC_BETA_API}/skills/${skillId}`) + .get(`${config.TC_API}/skills/${skillId}`) .set('Authorization', `Bearer ${token}`) .set('Content-Type', 'application/json') .set('Accept', 'application/json')