sending images through messages works

This commit is contained in:
jackiettran committed 2025-12-18 19:37:16 -05:00
1 parent 996e815d57
commit 4b4584bc0f
6 files changed
+52 -22

No files matched your search

+1 -1
View File
@@ -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);
}