mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-06-19 02:36:47 +02:00
lint fix
This commit is contained in:
parent
29e885b6d4
commit
dc74bb7e95
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ router.get("/api/status-page/heartbeat/:slug", cache("1 minutes"), async (reques
|
|||
if (bucket.up === 0 && bucket.down === 0 && bucket.maintenance === 0 && bucket.pending === 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
status: bucket.down > 0 ? DOWN :
|
||||
bucket.maintenance > 0 ? MAINTENANCE :
|
||||
|
|
Loading…
Add table
Reference in a new issue