Fix masto api context.
[akkoma] / lib / pleroma / web / router.ex
index 84bf6791dd2bbd29bbc4efcd323c95ed5c9471a1..5246b3c415ed45aebbfdde50eb915c805b56ae28 100644 (file)
@@ -47,6 +47,7 @@ defmodule Pleroma.Web.Router do
     get "/timelines/public", MastodonAPIController, :public_timeline
 
     get "/statuses/:id", MastodonAPIController, :get_status
+    get "/statuses/:id/context", MastodonAPIController, :get_context
   end
 
   scope "/api/v1", Pleroma.Web.MastodonAPI do