Skip to content

Commit

Permalink
ULMS-3072 Fixed mqtt client reconnect method
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkonst committed May 27, 2024
1 parent 531203f commit d4c6e91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ulms/api-clients",
"version": "7.6.1",
"version": "7.6.2",
"description": "JavaScript API clients for ULMS platform",
"keywords": [],
"homepage": "https://github.com/foxford/ulms-api-clients-js#readme",
Expand Down
2 changes: 1 addition & 1 deletion src/mqtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ class ReconnectingMQTTClient extends MQTTClient {
}

reconnect() {
if (this.tokenProviderPromise !== null) return
if (this.tokenProviderPromise !== undefined) return

this.tokenProviderPromise = this.tokenProvider
.getToken()
Expand Down

0 comments on commit d4c6e91

Please sign in to comment.