MastoAPI: Remove domain ending from account name.
[akkoma] / lib / pleroma / web / router.ex
index 9e725641dc045ced9475f96fc6caca881fc00e6e..161635558b6ddcec1b1040d62fec44903b95826c 100644 (file)
@@ -65,7 +65,7 @@ defmodule Pleroma.Web.Router do
     post "/statuses/:id/favourite", MastodonAPIController, :fav_status
     post "/statuses/:id/unfavourite", MastodonAPIController, :unfav_status
 
-    get "/notifications", MastodonAPIController, :empty_array
+    get "/notifications", MastodonAPIController, :notifications
   end
 
   scope "/api", Pleroma.Web do