Skip to content

Commit 402d7f9

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 6e0e78e commit 402d7f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/monitor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ export class HapMonitor extends EventEmitter {
143143
*/
144144
isInstanceMonitored(username: string): boolean {
145145
const instance = this.evInstances.find(x => x.username === username)
146-
return instance?.monitoring
146+
return instance?.monitoring === true
147147
}
148148

149149
/**

0 commit comments

Comments
 (0)