Apply suggestion to lib/pleroma/web/router.ex
authorRoman Chvanikov <chvanikoff@pm.me>
Tue, 17 Sep 2019 13:43:10 +0000 (13:43 +0000)
committerRoman Chvanikov <chvanikoff@pm.me>
Tue, 17 Sep 2019 13:43:10 +0000 (13:43 +0000)
lib/pleroma/web/router.ex

index 05891b6c090adcd4ef3feece5ed8a845f1cc9d08..1fff94b3803f893c5849f3c808db3b4746bde49d 100644 (file)
@@ -274,7 +274,7 @@ defmodule Pleroma.Web.Router do
         post("/dismiss", SubscriptionNotificationController, :dismiss)
         delete("/destroy_multiple", SubscriptionNotificationController, :destroy_multiple)
         get("/", SubscriptionNotificationController, :list)
-        get("/id", SubscriptionNotificationController, :get)
+        get("/:id", SubscriptionNotificationController, :get)
       end
     end