From 93e8b6ee0d6a4a4bcfdff3d55d06b0d249fd3914 Mon Sep 17 00:00:00 2001 From: Blitblank Date: Sun, 22 Mar 2026 20:50:25 -0500 Subject: [PATCH] fix: setting token --- client/src/api/AuthApi.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/src/api/AuthApi.ts b/client/src/api/AuthApi.ts index 2175ca0..62b4a0a 100644 --- a/client/src/api/AuthApi.ts +++ b/client/src/api/AuthApi.ts @@ -27,12 +27,11 @@ export const login = async (user: LoginDto ) => { try { const response = await api.post(`${API_URL}/login`, user); - localStorage.setTokens(response.data); + authStorage.setTokens(response.data); return true; } catch (err) { - console.log(err); return false; }