diff --git a/app/controller/event.js b/app/controller/event.js index 66d187b1..84f9c578 100644 --- a/app/controller/event.js +++ b/app/controller/event.js @@ -80,9 +80,9 @@ const eventController = { // insert notification const notifications = await eventController.getNotifications(event) await event.setNotifications(notifications) - res.send(200) + res.sendStatus(200) } catch (e) { - res.send(404) + res.sendStatus(404) } },