mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-03 03:56:18 -04:00
Merge pull request #1565 from Saibamen/eslint
Fix some of ESLint warnings
This commit is contained in:
commit
1687de163c
14 changed files with 80 additions and 91 deletions
|
@ -731,7 +731,7 @@ class Monitor extends BeanModel {
|
|||
|
||||
} else {
|
||||
// Handle new monitor with only one beat, because the beat's duration = 0
|
||||
let status = parseInt(await R.getCell("SELECT `status` FROM heartbeat WHERE monitor_id = ?", [monitorID]));
|
||||
let status = parseInt(await R.getCell("SELECT `status` FROM heartbeat WHERE monitor_id = ?", [ monitorID ]));
|
||||
|
||||
if (status === UP) {
|
||||
uptime = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue