From 60db8081bd218846cd3fb2a9fe989fbb968825dc Mon Sep 17 00:00:00 2001 From: Robson Jean Penteado Date: Thu, 24 Oct 2024 09:49:43 -0300 Subject: [PATCH] FIX: Update instance.controller.ts to filter by instanceName This commit should fix the filter by instanceName --- src/api/controllers/instance.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/controllers/instance.controller.ts b/src/api/controllers/instance.controller.ts index 7a4e2cb4..074d2a49 100644 --- a/src/api/controllers/instance.controller.ts +++ b/src/api/controllers/instance.controller.ts @@ -382,7 +382,7 @@ export class InstanceController { return this.waMonitor.instanceInfoById(instanceId, number); } - return this.waMonitor.instanceInfo(); + return this.waMonitor.instanceInfo(instanceName); } public async setPresence({ instanceName }: InstanceDto, data: SetPresenceDto) {