Update monitorModule.js

This commit is contained in:
Alexander Holliday authored and GitHub committed 2024-08-27 15:33:43 -07:00
1 parent c3e95f7341
commit add7756095
1 file changed
-1
-1
View File
@@ -364,7 +364,6 @@ const getMonitorsByTeamId = async (req, res) => {
*/
const createMonitor = async (req, res) => {
try {
console.log(req.body);
const monitor = new Monitor({ ...req.body });
// Remove notifications fom monitor as they aren't needed here
monitor.notifications = undefined;