mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
wuh
This commit is contained in:
@@ -15,6 +15,7 @@ function sendAlert({ color, title, message, ts = Date.now() }) {
|
|||||||
ts,
|
ts,
|
||||||
};
|
};
|
||||||
io.emit('alert', payload);
|
io.emit('alert', payload);
|
||||||
|
io.emit('alert:new', { id: `${ts}-${Math.random().toString(36).slice(2)}`, ...payload });
|
||||||
}
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
|
|||||||
Reference in New Issue
Block a user