Add debug logging for markContactEmailsAsRead and remove password change restriction
This commit is contained in:
@@ -49,6 +49,13 @@ router.get(
|
||||
crmEmailController.getContactEmails
|
||||
);
|
||||
|
||||
// Mark all emails from contact as read
|
||||
router.post(
|
||||
'/contact/:contactId/read',
|
||||
validateParams(z.object({ contactId: z.string().uuid() })),
|
||||
crmEmailController.markContactEmailsRead
|
||||
);
|
||||
|
||||
// Mark email as read/unread
|
||||
router.patch(
|
||||
'/:jmapId/read',
|
||||
|
||||
Reference in New Issue
Block a user