fix: undefined in log while creating a new monitor (#5053)

Co-authored-by: Frank Elsinga <frank@elsinga.de>
This commit is contained in:
Prabhsharan Singh 2024-08-29 02:53:01 +05:30 committed by GitHub
parent 716832b9f3
commit 562de6abb4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -731,7 +731,7 @@ let needSetup = false;
await startMonitor(socket.userID, bean.id); await startMonitor(socket.userID, bean.id);
} }
log.info("monitor", `Added Monitor: ${monitor.id} User ID: ${socket.userID}`); log.info("monitor", `Added Monitor: ${bean.id} User ID: ${socket.userID}`);
callback({ callback({
ok: true, ok: true,