Skip to content
This repository was archived by the owner on Mar 12, 2025. It is now read-only.

Pointing to V5 instead of V5.1 for skills api #10

Merged
merged 1 commit into from
Sep 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Pointing to V5 instead of V5.1 for skills api
  • Loading branch information
vikasrohit authored Sep 2, 2021
commit 80d7b8c76fc74b216e8e3729379aeb46ffe4375d
2 changes: 1 addition & 1 deletion src/common/helper.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const getM2MUbahnToken = async () => {
*/
async function getV5SkillResource (path, params) {
const token = await getM2MUbahnToken()
const res = await axios.get(`${config.TC_BETA_API_URL}/${path}`, {
const res = await axios.get(`${config.UBAHN_API_URL}/${path}`, {
params,
headers: { Authorization: `Bearer ${token}` }
})
Expand Down