Skip to content

Commit 6621a1d

Browse files
author
vikasrohit
authored
Merge pull request topcoder-platform#542 from topcoder-platform/hotfix/removing-beta-api-url
[ Prod Release ] - Pointing to v5 skills api instead of v5.1
2 parents 30b033f + afc7308 commit 6621a1d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/common/helper.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1220,7 +1220,7 @@ async function getTopcoderSkills (criteria) {
12201220
const token = await getM2MUbahnToken()
12211221
try {
12221222
const res = await request
1223-
.get(`${config.TC_BETA_API}/skills`)
1223+
.get(`${config.TC_API}/skills`)
12241224
.query({
12251225
taxonomyId: config.TOPCODER_TAXONOMY_ID,
12261226
...criteria
@@ -1272,7 +1272,7 @@ async function getAllTopcoderSkills (criteria) {
12721272
async function getSkillById (skillId) {
12731273
const token = await getM2MUbahnToken()
12741274
const res = await request
1275-
.get(`${config.TC_BETA_API}/skills/${skillId}`)
1275+
.get(`${config.TC_API}/skills/${skillId}`)
12761276
.set('Authorization', `Bearer ${token}`)
12771277
.set('Content-Type', 'application/json')
12781278
.set('Accept', 'application/json')

0 commit comments

Comments
 (0)