Просмотр исходного кода

updated express.send to express.sendStatus

mserranom 6 лет назад
Родитель
Сommit
682fd526c0
1 измененных файлов с 1 добавлено и 1 удалено
  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()
       }