mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-27 22:49:42 -08:00
minor
This commit is contained in:
parent
b246c8e0f2
commit
8d5eaaf8a7
|
@ -35,6 +35,9 @@ router.get("/api/push/:pushToken", async (request, response) => {
|
||||||
bean.status = UP;
|
bean.status = UP;
|
||||||
bean.msg = msg;
|
bean.msg = msg;
|
||||||
|
|
||||||
|
// TODO: HOW TO?
|
||||||
|
//bean.ping
|
||||||
|
|
||||||
await R.store(bean);
|
await R.store(bean);
|
||||||
|
|
||||||
io.to(monitor.user_id).emit("heartbeat", bean.toJSON());
|
io.to(monitor.user_id).emit("heartbeat", bean.toJSON());
|
||||||
|
|
Loading…
Reference in a new issue