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 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
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue