chore: added validation request to ticketId

contact-manager
adriano 2025-06-26 20:51:26 -03:00
parent f2814269ac
commit 526c016b99
1 changed files with 2 additions and 2 deletions

View File

@ -70,13 +70,13 @@ const checkContact = async (req, res) => {
const contactActivity = async (req, res) => { const contactActivity = async (req, res) => {
const { companyId, crmPhone, ticketId } = req.body const { companyId, crmPhone, ticketId } = req.body
mustContainProperties(req, ['companyId', 'crmPhone',]) mustContainProperties(req, ['companyId', 'crmPhone', 'ticketId'])
await whatsappJournalingCRM( await whatsappJournalingCRM(
companyId, companyId,
crmPhone, crmPhone,
'0000', '0000',
crmFirstName = "xxx", crmFirstName = "unnamed",
ticketId ticketId
) )