We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 402d5af commit 8652d40Copy full SHA for 8652d40
1 file changed
src/whatsapp/services/monitor.service.ts
@@ -80,7 +80,7 @@ export class WAMonitoringService {
80
81
const instances: any[] = await Promise.all(
82
Object.entries(this.waInstances).map(async ([key, value]) => {
83
- if (!value || !value.connectionStatus || value.connectionStatus.state !== 'open') {
+ if (!value || !value.connectionStatus || !value.connectionStatus.state) {
84
return {
85
instance: {
86
instanceName: key,
0 commit comments