Skip to content

Commit 8652d40

Browse files
authored
Update monitor.service.ts
1 parent 402d5af commit 8652d40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/whatsapp/services/monitor.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class WAMonitoringService {
8080

8181
const instances: any[] = await Promise.all(
8282
Object.entries(this.waInstances).map(async ([key, value]) => {
83-
if (!value || !value.connectionStatus || value.connectionStatus.state !== 'open') {
83+
if (!value || !value.connectionStatus || !value.connectionStatus.state) {
8484
return {
8585
instance: {
8686
instanceName: key,

0 commit comments

Comments
 (0)