From ffcd56f1275aa07b41a4f2f991f491677b5bfea1 Mon Sep 17 00:00:00 2001 From: Wikzyy Date: Fri, 25 Apr 2025 16:34:38 +0700 Subject: [PATCH] fix API reset password --- src/auth/providers/JWTProvider.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/providers/JWTProvider.tsx b/src/auth/providers/JWTProvider.tsx index 1bb944e..934d228 100644 --- a/src/auth/providers/JWTProvider.tsx +++ b/src/auth/providers/JWTProvider.tsx @@ -90,7 +90,7 @@ const AuthProvider = ({ children }: PropsWithChildren) => { }; const requestPasswordResetLink = async (email: string) => { - await axios.put(FORGOT_PASSWORD_URL + '/' + email + '/credit/'); + await axios.put(FORGOT_PASSWORD_URL + '/' + email); }; const changePassword = async (token: string, password: string, retype_password: string) => {