chore: Return 200 on route response

master
adriano 2025-04-10 12:24:12 -03:00
parent db3da71b39
commit 5e0402699b
1 changed files with 3 additions and 1 deletions

View File

@ -495,7 +495,9 @@ const webhook_crm = async (req, res) => {
}) })
console.log('==========> crm whoId: ', whoId) console.log('==========> crm whoId: ', whoId)
console.log('==========> crm contact: ', contact) console.log('==========> crm contact: ', contact)
if(!contact) return res.send()
const { phone } = contact const { phone } = contact