From 80d7b8c76fc74b216e8e3729379aeb46ffe4375d Mon Sep 17 00:00:00 2001 From: vikasrohit Date: Thu, 2 Sep 2021 11:57:56 +0530 Subject: [PATCH] Pointing to V5 instead of V5.1 for skills api --- src/common/helper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/helper.js b/src/common/helper.js index 86ac1a5..e572640 100644 --- a/src/common/helper.js +++ b/src/common/helper.js @@ -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}` } })