Skip to content

Commit

Permalink
Merge pull request #1001 from robjean9/patch-1
Browse files Browse the repository at this point in the history
FIX: Update instance.controller.ts to filter by instanceName
  • Loading branch information
DavidsonGomes authored Oct 28, 2024
2 parents 37b003f + 60db808 commit 0fdc47e
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 0fdc47e

Please sign in to comment.