Skip to content

Commit

Permalink
Issue #213857 fix: add languge in pointer api
Browse files Browse the repository at this point in the history
deepali-chavhan committed Feb 20, 2024
1 parent cb522c9 commit 608934c
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
@@ -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) => {

0 comments on commit 608934c

Please sign in to comment.