Skip to content

Commit

Permalink
remove unused console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
hissalht committed Nov 30, 2023
1 parent 0899eba commit 396cc17
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions confiture-web-app/src/store/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ export const useAccountStore = defineStore("account", {
return null;
}
const payload = jwtDecode(state.authToken) as AuthenticationJwtPayload;
console.log(payload);
return {
uid: payload.sub,
email: payload.email,
Expand Down Expand Up @@ -186,7 +185,7 @@ export const useAccountStore = defineStore("account", {
async resendEmailUpdateVerificationEmail() {
await ky.post(
"/api/auth/account/resend-email-update-verification-email",
{ headers: { Authorization: `Bearer ${this.authToken}` } }
{ headers: { Authorization: `Bearer ${this.authToken}` } },
);
},

Expand Down Expand Up @@ -214,7 +213,7 @@ export const useAccountStore = defineStore("account", {
waitForEmailUpdateVerification(newEmail: string, signal: AbortSignal) {
const CHECK_INTERVAL = 5000;
const url = `/api/auth/account/verified-email-update?email=${encodeURIComponent(
newEmail
newEmail,
)}`;

return new Promise<void>((resolve, reject) => {
Expand Down

0 comments on commit 396cc17

Please sign in to comment.