We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a62f9eb commit bc11d0fCopy full SHA for bc11d0f
src/api/integrations/channel/whatsapp/whatsapp.baileys.service.ts
@@ -3447,6 +3447,7 @@ export class BaileysStartupService extends ChannelStartupService {
3447
await this.prismaRepository.messageUpdate.create({ data: messageUpdate });
3448
}
3449
} else {
3450
+ if (!message) return response;
3451
await this.prismaRepository.message.deleteMany({ where: { id: message.id } });
3452
3453
this.sendDataWebhook(Events.MESSAGES_DELETE, {
0 commit comments