Bläddra i källkod

updated express.send to express.sendStatus

mserranom 6 år sedan
förälder
incheckning
682fd526c0
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      services/notifications/app/js/NotificationsController.js

+ 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()
       }
       }