Procházet zdrojové kódy

updated express.send to express.sendStatus

mserranom před 6 roky
rodič
revize
682fd526c0

+ 1 - 1
services/notifications/app/js/NotificationsController.js

@@ -38,7 +38,7 @@ module.exports = {
       notifications
       notifications
     ) {
     ) {
       if (err != null) {
       if (err != null) {
-        return res.send(500)
+        return res.sendStatus(500)
       } else {
       } else {
         return res.send()
         return res.send()
       }
       }