Add error handling and logging to email service
This commit is contained in:
1 parent
4a53c4d4f2
commit
4e430547ab
3 files changed
+64
-23
No files matched your search
@@ -231,6 +231,12 @@ class NetworkService {
|
||||
});
|
||||
}
|
||||
|
||||
async deleteUser(authToken, userId) {
|
||||
return this.axiosInstance.delete(`/auth/user/${userId}`, {
|
||||
headers: { Authorization: `Bearer ${authToken}` },
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* ************************************
|
||||
* Forgot password request
|
||||
|
||||
Reference in new issue
Block a user