This commit is contained in:
lesion
2019-03-22 00:20:47 +01:00
parent 3a8576a280
commit fa1a5192cb

View File

@@ -80,9 +80,9 @@ const eventController = {
// insert notification // insert notification
const notifications = await eventController.getNotifications(event) const notifications = await eventController.getNotifications(event)
await event.setNotifications(notifications) await event.setNotifications(notifications)
res.send(200) res.sendStatus(200)
} catch (e) { } catch (e) {
res.send(404) res.sendStatus(404)
} }
}, },