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

Prod release - Calling new skills api #7

Merged
merged 9 commits into from
Aug 19, 2021
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Using updated TC_BETA_API_URL env variable
  • Loading branch information
vikasrohit authored Aug 18, 2021
commit dc893fafe2813008d6728db9e8d2d0ea48a288e9
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}/${path}`, {
const res = await axios.get(`${config.TC_BETA_API_URL}/${path}`, {
params,
headers: { Authorization: `Bearer ${token}` }
})
Expand Down