Skip to content

Commit

Permalink
Pointing to v5 skills api instead of v5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
vikasrohit authored Sep 2, 2021
1 parent 30b033f commit afc7308
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 afc7308

Please sign in to comment.