Skip to content

Commit

Permalink
Merge pull request #222 from deepali-chavhan/getpointer-api
Browse files Browse the repository at this point in the history
Issue #213857 fix: add languge in pointer api
  • Loading branch information
gouravmore authored Feb 20, 2024
2 parents cb522c9 + 608934c commit fd65f64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/api/PointerApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const baseURL = `${process.env.REACT_APP_LEARNER_AI_APP_HOST}/lp-tracker/api/pointer`;

export const fetchPointerApi = () => {
const url = `${baseURL}/getPointers/${localStorage.getItem('virtualID')}/${localStorage.getItem('virtualStorySessionID')}`;
const url = `${baseURL}/getPointers/${localStorage.getItem('virtualID')}/${localStorage.getItem('virtualStorySessionID')}?language=${localStorage.getItem('apphomelang')}`;

return fetch(url)
.then((res) => {
Expand Down

0 comments on commit fd65f64

Please sign in to comment.