fix: correction sending s3/minio media to chatwoot and typebot

This commit is contained in:
Davidson Gomes
2023-12-14 16:42:03 -03:00
parent 4e41e072d6
commit 182dce4840
3 changed files with 8 additions and 2 deletions

View File

@@ -1005,6 +1005,10 @@ export class WAStartupService {
}
}
console.log('webhookGlobal.GLOBAL?.ENABLED', webhookGlobal.GLOBAL?.ENABLED);
console.log('webhookGlobal.EVENTS[we]', webhookGlobal.EVENTS[we]);
console.log('we', we);
if (webhookGlobal.GLOBAL?.ENABLED) {
if (webhookGlobal.EVENTS[we]) {
this.logger.verbose('Sending data to webhook global');