chore: added validation request to ticketId
parent
f2814269ac
commit
526c016b99
|
@ -70,13 +70,13 @@ const checkContact = async (req, res) => {
|
|||
const contactActivity = async (req, res) => {
|
||||
const { companyId, crmPhone, ticketId } = req.body
|
||||
|
||||
mustContainProperties(req, ['companyId', 'crmPhone',])
|
||||
mustContainProperties(req, ['companyId', 'crmPhone', 'ticketId'])
|
||||
|
||||
await whatsappJournalingCRM(
|
||||
companyId,
|
||||
crmPhone,
|
||||
'0000',
|
||||
crmFirstName = "xxx",
|
||||
crmFirstName = "unnamed",
|
||||
ticketId
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue