Skip to content

Commit 0b63633

Browse files
committed
fix typo
1 parent 5139eb3 commit 0b63633

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

store/auth.store.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ export const useAuthStore = defineStore("auth", {
7171

7272
const data = await response.json()
7373

74+
alert(data)
75+
7476
localStorage.removeItem("code_verifier")
7577
localStorage.setItem("access_token", data.access_token)
7678
localStorage.setItem("refresh_token", data.refresh_token)
@@ -88,7 +90,7 @@ export const useAuthStore = defineStore("auth", {
8890
throw new Error("No access token")
8991
}
9092

91-
const response = await fetch(`$https://auth-back.celenium.io${Auth.getCurrentUserUrl}`, {
93+
const response = await fetch(`https://auth-back.celenium.io${Auth.getCurrentUserUrl}`, {
9294
headers: {
9395
"Authorization": `Bearer ${token}`,
9496
},

0 commit comments

Comments
 (0)