sending images through messages works
This commit is contained in:
1 parent
996e815d57
commit
4b4584bc0f
6 files changed
+52
-22
No files matched your search
@@ -316,7 +316,7 @@ router.post('/', authenticateToken, async (req, res, next) => {
|
||||
error: error.message,
|
||||
stack: error.stack,
|
||||
senderId: req.user.id,
|
||||
receiverId: req.body.receiverId
|
||||
receiverId: req.body?.receiverId
|
||||
});
|
||||
next(error);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user