Skip to content

Commit

Permalink
Added log
Browse files Browse the repository at this point in the history
  • Loading branch information
hkirat committed Nov 28, 2024
1 parent 2b73e53 commit 165dc08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/actions/user/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,13 @@ export const GetAppxVideoPlayerUrl = async (courseId: string, videoId: string):
'User-Id': appxUserId,
},
};
console.log(config);
console.log(url);

const res = await axios.request(config);
const { video_player_token, video_player_url } = res.data.data;
console.log(video_player_token);
console.log(video_player_url);
const full_video_url = `${video_player_url}${video_player_token}&watermark=${name}%0A${email}`;
return full_video_url;
};

0 comments on commit 165dc08

Please sign in to comment.