Skip to content

Commit

Permalink
fix: fix cors
Browse files Browse the repository at this point in the history
  • Loading branch information
chowjustin committed Nov 5, 2024
1 parent d1fb8e5 commit 175e205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(auth)/signin/hooks/useLoginMutation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function useLoginMutation() {
const token = res.data.token;
setToken(token);

const user = await api.get<ApiResponse<User>>("/users/me/");
const user = await api.get<ApiResponse<User>>("/users/me");
if (user) login({ ...user.data.data, token: token });

return res;
Expand Down

0 comments on commit 175e205

Please sign in to comment.