Skip to content

Commit

Permalink
Bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
zapccu committed May 8, 2023
1 parent e2b67ac commit 0e169c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class SmaEvCharger extends utils.Adapter {
this.log.info("Token refresh interval = " + refreshInterval + " seconds");

// Timer for refreshing the access token
this.refreshTokenInterval = setInterval(() => {
this.refreshTokenInterval = setInterval(async () => {
await this.refreshToken();
}, refreshInterval * 1000);

Expand Down

0 comments on commit 0e169c1

Please sign in to comment.