Skip to content

Commit a8b260e

Browse files
chore: clean up unneccessary log
1 parent d8806be commit a8b260e

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

api/server/middleware/validate/convoAccess.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,6 @@ const validateConvoAccess = async (req, res, next) => {
5959
}
6060

6161
if (conversation.user !== userId) {
62-
logger.error('[validateConvoAccess] Authorization failed', {
63-
conversationId,
64-
conversationUserId: conversation.user,
65-
currentUserId: userId,
66-
});
6762
const errorMessage = {
6863
type,
6964
error: 'User not authorized for this conversation',

0 commit comments

Comments
 (0)