diff --git a/backend/controllers/crmController.js b/backend/controllers/crmController.js index 957271b..5769bc8 100644 --- a/backend/controllers/crmController.js +++ b/backend/controllers/crmController.js @@ -495,7 +495,9 @@ const webhook_crm = async (req, res) => { }) console.log('==========> crm whoId: ', whoId) - console.log('==========> crm contact: ', contact) + console.log('==========> crm contact: ', contact) + + if(!contact) return res.send() const { phone } = contact