Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Rezanmonis/Academy-GPT
Browse files Browse the repository at this point in the history
  • Loading branch information
learneradarsh committed Jan 4, 2025
2 parents 84fc9e0 + fae86bc commit d21f7cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Frontend/src/hook/useVideoSdk.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const useVideoSDK = (modalIsOpen, handleModal, isMiniModal) => {



const authToken = ''
// const authToken = localStorage.getItem("token") || sessionStorage.getItem("token");


if (isMiniModal) {
Expand Down Expand Up @@ -43,7 +43,7 @@ const useVideoSDK = (modalIsOpen, handleModal, isMiniModal) => {
method: "POST",
headers: {
"Content-Type": "application/json",
"Authorization": `Bearer ${authToken}` // Replace `authToken` with your token variable
"Authorization": `Bearer ${localStorage.getItem("token") || sessionStorage.getItem("token")}` // Replace `authToken` with your token variable
},

});
Expand Down

0 comments on commit d21f7cb

Please sign in to comment.