Update monitorModule.js
This commit is contained in:
1 parent
c3e95f7341
commit
add7756095
1 file changed
-1
@@ -364,7 +364,6 @@ const getMonitorsByTeamId = async (req, res) => {
|
|||||||
*/
|
*/
|
||||||
const createMonitor = async (req, res) => {
|
const createMonitor = async (req, res) => {
|
||||||
try {
|
try {
|
||||||
console.log(req.body);
|
|
||||||
const monitor = new Monitor({ ...req.body });
|
const monitor = new Monitor({ ...req.body });
|
||||||
// Remove notifications fom monitor as they aren't needed here
|
// Remove notifications fom monitor as they aren't needed here
|
||||||
monitor.notifications = undefined;
|
monitor.notifications = undefined;
|
||||||
|
|||||||
Reference in new issue
Block a user