Skip to content

Commit

Permalink
FIX: Update instance.controller.ts to filter by instanceName
Browse files Browse the repository at this point in the history
This commit should fix the filter by instanceName
  • Loading branch information
robjean9 authored Oct 24, 2024
1 parent 37b003f commit 60db808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/controllers/instance.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 60db808

Please sign in to comment.