Removed content type header from request

This commit is contained in:
Daniel Cojocea committed 2024-07-09 20:51:26 -04:00
1 parent d20ec58b0e
commit bd5ed007eb
1 file changed
+1 -4
+1 -4
View File
@@ -85,10 +85,7 @@ export const deleteUser = createAsyncThunk(
try {
const res = await axiosInstance.delete(`/auth/user/${user._id}`, {
headers: {
Authorization: `Bearer ${data}`,
"Content-Type": "multipart/form-data",
},
headers: { Authorization: `Bearer ${data}` },
});
return res.data;
} catch (error) {