Skip to content

Commit 7b95462

Browse files
author
vikasrohit
authored
Merge pull request #533 from topcoder-platform/hotfix/removing-beta-api-url
Hotfix/removing beta api url
2 parents 1b22c8a + afc7308 commit 7b95462

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
@@ -1240,7 +1240,7 @@ async function getTopcoderSkills (criteria) {
12401240
const token = await getM2MUbahnToken()
12411241
try {
12421242
const res = await request
1243-
.get(`${config.TC_BETA_API}/skills`)
1243+
.get(`${config.TC_API}/skills`)
12441244
.query({
12451245
taxonomyId: config.TOPCODER_TAXONOMY_ID,
12461246
...criteria
@@ -1292,7 +1292,7 @@ async function getAllTopcoderSkills (criteria) {
12921292
async function getSkillById (skillId) {
12931293
const token = await getM2MUbahnToken()
12941294
const res = await request
1295-
.get(`${config.TC_BETA_API}/skills/${skillId}`)
1295+
.get(`${config.TC_API}/skills/${skillId}`)
12961296
.set('Authorization', `Bearer ${token}`)
12971297
.set('Content-Type', 'application/json')
12981298
.set('Accept', 'application/json')

0 commit comments

Comments
 (0)