Implement setting TTL on FE

This commit is contained in:
Alex Holliday committed 2024-09-16 12:13:29 +08:00
1 parent f075e15ab7
commit afa5cf1fc0
8 files changed
+163 -44

No files matched your search

+1 -1
View File
@@ -67,7 +67,7 @@ export const update = createAsyncThunk(
fd.append("deleteProfileImage", form.deleteProfileImage);
const res = await networkService.updateUser(token, user._id, fd);
console.log(res);
return res.data;
} catch (error) {
if (error.response && error.response.data) {