revert issue

This commit is contained in:
Trial committed 2025-03-30 01:19:21 +03:00
1 parent c88989d25e
commit dacf729bca
1 file changed
+1 -2
+1 -2
View File
@@ -100,8 +100,7 @@ export const forgotPassword = createAsyncThunk(
"auth/forgotPassword",
async (form, thunkApi) => {
try {
const newForm = {...form, email: form.toLowerCase()};
const res = await networkService.forgotPassword(newForm);
const res = await networkService.forgotPassword(form);
return res.data;
} catch (error) {
if (error.response.data) {