Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
arteck authored Oct 25, 2023
1 parent c488e37 commit 474b248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,9 +285,9 @@ class judoisoftControll extends utils.Adapter {

try {
setTimeout(function() {
_tokenData = await this.getTokenFirst();
_tokenData = this.getTokenFirst();
if (_tokenData != null) {
let conResult = await axios.get(baseUrl + "?token=" + _tokenData + "&group=register&command=get%20device%20data", {httpsAgent: agent});
let conResult = axios.get(baseUrl + "?token=" + _tokenData + "&group=register&command=get%20device%20data", {httpsAgent: agent});
clearInterval(_requestInterval);
this.getInfosCloud();
}
Expand Down

0 comments on commit 474b248

Please sign in to comment.