From dacf729bcaeb012afda8c9695cfc4d919d881ac5 Mon Sep 17 00:00:00 2001 From: Trial Date: Sun, 30 Mar 2025 01:19:21 +0300 Subject: [PATCH] revert issue --- src/Features/Auth/authSlice.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Features/Auth/authSlice.js b/src/Features/Auth/authSlice.js index 773ab3be5..2fe089971 100644 --- a/src/Features/Auth/authSlice.js +++ b/src/Features/Auth/authSlice.js @@ -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) {