Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
KamyarTaher committed Nov 8, 2024
1 parent 2976681 commit 353f7e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/backendAPI/backendAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const createApi = () => {

let api = createApi();
function setAccessTokenCookie(token: string) {
document.cookie = `accessToken=${token}; path=/; Secure; SameSite=Strict`;
document.cookie = `refreshToken=${token}; path=/; Secure; SameSite=Strict`;
}

export function setAccessToken(token: string) {
Expand Down

0 comments on commit 353f7e2

Please sign in to comment.