feat: Add solution to dont send email when the case is created
parent
d121b2e199
commit
5b9a105b7b
|
@ -78,6 +78,9 @@ async function sfcase(companyId, crmPhone) {
|
||||||
}
|
}
|
||||||
config.data = payload;
|
config.data = payload;
|
||||||
|
|
||||||
|
if (companyId == "14296")
|
||||||
|
config.data = { ...config.data, ...{ "Notificar_Cliente_sobre_a_Criacao__c": false } }
|
||||||
|
|
||||||
console.log("====> create case request config: ", config)
|
console.log("====> create case request config: ", config)
|
||||||
|
|
||||||
// Log do payload que será enviado ao Salesforce
|
// Log do payload que será enviado ao Salesforce
|
||||||
|
|
Loading…
Reference in New Issue