removed console log
This commit is contained in:
1 parent
f847bfc920
commit
fc72bb868d
1 file changed
-1
@@ -90,7 +90,6 @@ const getMonitorById = async (req, res) => {
|
|||||||
if (normalize !== undefined) {
|
if (normalize !== undefined) {
|
||||||
checks = NormalizeData(checks, 1, 100);
|
checks = NormalizeData(checks, 1, 100);
|
||||||
}
|
}
|
||||||
console.log(checks.length);
|
|
||||||
const notifications = await Notification.find({ monitorId: monitor._id });
|
const notifications = await Notification.find({ monitorId: monitor._id });
|
||||||
const monitorWithChecks = { ...monitor.toObject(), checks, notifications };
|
const monitorWithChecks = { ...monitor.toObject(), checks, notifications };
|
||||||
return monitorWithChecks;
|
return monitorWithChecks;
|
||||||
|
|||||||
Reference in new issue
Block a user