فهرست منبع

Remove redundant `/notification` path component

Shane Kilkelly 10 سال پیش
والد
کامیت
5cb7e3dc03
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      services/notifications/app.coffee

+ 1 - 1
services/notifications/app.coffee

@@ -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')