chore: Return 200 on route response
parent
db3da71b39
commit
5e0402699b
|
@ -497,6 +497,8 @@ 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
|
||||||
|
|
||||||
const obj = omnihitV2Integration.find(o => o.companyId == companyId)
|
const obj = omnihitV2Integration.find(o => o.companyId == companyId)
|
||||||
|
|
Loading…
Reference in New Issue