mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-24 02:15:59 +03:00
minor: improve formatting
This commit is contained in:
parent
dcc91d6c72
commit
d4bfe57b79
1 changed files with 4 additions and 2 deletions
|
@ -153,8 +153,10 @@ router.get("/api/status-page/monitor-list", cache("5 minutes"), async (_request,
|
||||||
ON monitor_tag.tag_id = tag.id
|
ON monitor_tag.tag_id = tag.id
|
||||||
WHERE monitor_tag.monitor_id = ?`, [monitor.id]
|
WHERE monitor_tag.monitor_id = ?`, [monitor.id]
|
||||||
);
|
);
|
||||||
return { ...monitor,
|
return {
|
||||||
tags: tags };
|
...monitor,
|
||||||
|
tags: tags
|
||||||
|
};
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue