mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-04 16:35:57 +00:00
Fix: sendHeartbeatList now sends correct format
This commit is contained in:
parent
2297645a3d
commit
20d5ded721
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ async function sendHeartbeatList(socket, monitorID, toUser = false, overwrite =
|
|||
monitorID,
|
||||
]);
|
||||
|
||||
let result = list.reverse();
|
||||
let result = R.convertToBeans("heartbeat", list.reverse());
|
||||
|
||||
if (toUser) {
|
||||
io.to(socket.userID).emit("heartbeatList", monitorID, result, overwrite);
|
||||
|
|
Loading…
Add table
Reference in a new issue