This commit is contained in:
Alex Holliday committed 2025-02-24 14:33:25 -08:00
1 parent c94c0261ab
commit 88fc158d9f
23 files changed
+251 -228

No files matched your search

+1 -1
View File
@@ -80,7 +80,7 @@ export const deleteUser = createAsyncThunk("auth/delete", async (_, thunkApi) =>
const user = thunkApi.getState().auth.user;
try {
const res = await networkService.deleteUser({ userId: user._id, });
const res = await networkService.deleteUser({ userId: user._id });
return res.data;
} catch (error) {
if (error.response && error.response.data) {