feat: Sending template approval status webhook

This commit is contained in:
Davidson Gomes
2024-07-25 19:38:34 -03:00
parent 31cb83a40c
commit 0bb2b92853
11 changed files with 81 additions and 7 deletions

View File

@@ -126,6 +126,7 @@ export class BusinessStartupService extends ChannelStartupService {
if (!data) return;
const content = data.entry[0].changes[0].value;
try {
this.loadWebhook();
this.loadChatwoot();
@@ -297,6 +298,7 @@ export class BusinessStartupService extends ChannelStartupService {
protected async messageHandle(received: any, database: Database, settings: any) {
try {
console.log(received);
let messageRaw: any;
let pushName: any;