Add error handling and logging to email service

This commit is contained in:
Alex Holliday
2024-08-21 11:41:47 -07:00
parent 4a53c4d4f2
commit 4e430547ab
3 changed files with 64 additions and 23 deletions

View File

@@ -231,6 +231,12 @@ class NetworkService {
});
}
async deleteUser(authToken, userId) {
return this.axiosInstance.delete(`/auth/user/${userId}`, {
headers: { Authorization: `Bearer ${authToken}` },
});
}
/**
* ************************************
* Forgot password request