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 474b248 commit 9d365d7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,7 @@ class judoisoftControll extends utils.Adapter {
setTimeout(function() {
_tokenData = this.getTokenFirst();
if (_tokenData != null) {
let conResult = axios.get(baseUrl + "?token=" + _tokenData + "&group=register&command=get%20device%20data", {httpsAgent: agent});
clearInterval(_requestInterval);
let conResult = axios.get(baseUrl + "?token=" + _tokenData + "&group=register&command=get%20device%20data", {httpsAgent: agent});
this.getInfosCloud();
}
}, 1000 * 60 * 5); // warte 5 min
Expand Down

0 comments on commit 9d365d7

Please sign in to comment.