fix API reset password

This commit is contained in:
Wikzyy
2025-04-25 16:34:38 +07:00
parent 4773afa423
commit ffcd56f127

View File

@ -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) => {