Explorar o código

updated express.send to express.sendStatus

mserranom %!s(int64=6) %!d(string=hai) anos
pai
achega
682fd526c0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      services/notifications/app/js/NotificationsController.js

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