Update 0.Base.ts

This commit is contained in:
Adhiraj Singh
2020-10-29 17:30:02 +05:30
parent 92c15b477b
commit aa40d63494

View File

@@ -321,8 +321,8 @@ export class WAConnection extends EventEmitter {
} }
} }
onOpen = resolve onOpen = resolve
this.once ('close', onClose) this.on ('close', onClose)
this.once ('open', onOpen) this.on ('open', onOpen)
} }
) )
.finally(() => { .finally(() => {