From 682fd526c09956ce9b375168c595188b3d951440 Mon Sep 17 00:00:00 2001 From: mserranom Date: Thu, 26 Mar 2020 15:36:49 +0100 Subject: [PATCH] updated express.send to express.sendStatus --- services/notifications/app/js/NotificationsController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/notifications/app/js/NotificationsController.js b/services/notifications/app/js/NotificationsController.js index 27587da25d..f6c60381d6 100644 --- a/services/notifications/app/js/NotificationsController.js +++ b/services/notifications/app/js/NotificationsController.js @@ -38,7 +38,7 @@ module.exports = { notifications ) { if (err != null) { - return res.send(500) + return res.sendStatus(500) } else { return res.send() }