Fix ESlint warnings

This commit is contained in:
Adam Stachowicz
2022-04-26 00:26:26 +02:00
parent d39dc94496
commit 5fbfacf5ce
2 changed files with 7 additions and 7 deletions

View File

@@ -694,7 +694,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;