diff --git a/Server/controllers/authController.js b/Server/controllers/authController.js index 6d3e757a5..6f34f71ce 100644 --- a/Server/controllers/authController.js +++ b/Server/controllers/authController.js @@ -480,6 +480,7 @@ const deleteUserController = async (req, res, next) => { await req.jobQueue.deleteJob(monitor); await req.db.deleteChecks(monitor._id); await req.db.deleteAlertByMonitorId(monitor._id); + await req.db.deleteNotificationsByMonitorId(monitor._id); }) );