Skip to content

Commit 4ba5cfc

Browse files
committed
fix: include instance Id field in the instance configuration
1 parent 7cc324e commit 4ba5cfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/whatsapp/controllers/instance.controller.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -645,6 +645,7 @@ export class InstanceController {
645645

646646
this.waMonitor.waInstances[instanceName].sendDataWebhook(Events.INSTANCE_DELETE, {
647647
instanceName,
648+
instanceId: (await this.repository.auth.find(instanceName))?.instanceId,
648649
});
649650
delete this.waMonitor.waInstances[instanceName];
650651
this.eventEmitter.emit('remove.instance', instanceName, 'inner');

0 commit comments

Comments
 (0)