feat: Add solution to dont send email when the case is created

feat/retirar_notificacao_caso
Eduxavier88 2025-05-07 09:19:54 -03:00
parent d121b2e199
commit 5b9a105b7b
1 changed files with 3 additions and 0 deletions

View File

@ -78,6 +78,9 @@ async function sfcase(companyId, crmPhone) {
}
config.data = payload;
if (companyId == "14296")
config.data = { ...config.data, ...{ "Notificar_Cliente_sobre_a_Criacao__c": false } }
console.log("====> create case request config: ", config)
// Log do payload que será enviado ao Salesforce