Skip to content

Commit

Permalink
Merge pull request #542 from topcoder-platform/hotfix/removing-beta-a…
Browse files Browse the repository at this point in the history
…pi-url

[ Prod Release ] - Pointing to v5 skills api instead of v5.1
  • Loading branch information
vikasrohit authored Sep 9, 2021
2 parents 30b033f + afc7308 commit 6621a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/common/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit 6621a1d

Please sign in to comment.