Skip to content

Commit

Permalink
fix this.phone where this in null
Browse files Browse the repository at this point in the history
  • Loading branch information
clairton committed Mar 22, 2024
1 parent 1c01af9 commit 0c4b275
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unoapi-cloud",
"version": "1.15.42",
"version": "1.15.43",
"description": "Unoapi Cloud",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/services/client_baileys.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ export class ClientBaileys implements Client {
}

async disconnect() {
logger.debug('Disconnect client store for %s', this.phone)
logger.debug('Disconnect client store for %s', this?.phone)
this.store = undefined

// clean cache
Expand Down

0 comments on commit 0c4b275

Please sign in to comment.