Use axios directly for fetching file
This commit is contained in:
1 parent
9b177426c2
commit
43dff00cd6
3 files changed
+2
-4
No files matched your search
@@ -89,7 +89,6 @@ const getUserByEmail = async (email) => {
|
||||
|
||||
const updateUser = async (req, res) => {
|
||||
const candidateUserId = req.params.userId;
|
||||
|
||||
try {
|
||||
const candidateUser = { ...req.body };
|
||||
// ******************************************
|
||||
|
||||
Reference in new issue
Block a user