This commit is contained in:
Ilya 2022-01-23 00:43:17 +03:00
parent 4b0d21e494
commit fffaecb693
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
{
"name": "uptimekuma-api",
"version": "1.0.1",
"version": "1.0.2",
"description": "",
"main": "src/index.js",
"types": "src/index.d.ts",

View file

@ -23,9 +23,9 @@ module.exports = class UptimeKumaApi extends EventEmitter {
if (this._pushTimer)
this._pushTimer.cancel();
this._pushTimer = setInterval(() => {
this.push(this.baseURL+"api/push/"+code);
this.push(this._baseURL+"api/push/"+code);
}, interval * 1000);
this.push(this.baseURL+"api/push/"+code);
this.push(this._baseURL+"api/push/"+code);
}
cancelPushing() {