Remove redundant /notification path component

This commit is contained in:
Shane Kilkelly
2016-08-12 09:56:16 +01:00
parent 0a5430468c
commit 5cb7e3dc03

View File

@@ -24,7 +24,7 @@ app.post '/user/:user_id', controller.addNotification
app.get '/user/:user_id', controller.getUserNotifications
app.del '/user/:user_id/notification/:notification_id', controller.removeNotificationId
app.del '/user/:user_id', controller.removeNotificationKey
app.del '/notification/key/:key', controller.removeNotificationByKeyOnly
app.del '/key/:key', controller.removeNotificationByKeyOnly
app.get '/status', (req, res)->
res.send('notifications sharelatex up')