Merge branch 'features/masto-account-view-rights' into 'develop'
[akkoma] / lib / pleroma / web / router.ex
index b83790858f4e9172877292d7690908faa5ca3172..e749aa834643f36b5d5be490af700e2c82fe9f77 100644 (file)
@@ -258,7 +258,7 @@ defmodule Pleroma.Web.Router do
 
     get("/statuses/:id", MastodonAPIController, :get_status)
     get("/statuses/:id/context", MastodonAPIController, :get_context)
-    get("/statuses/:id/card", MastodonAPIController, :empty_object)
+    get("/statuses/:id/card", MastodonAPIController, :status_card)
     get("/statuses/:id/favourited_by", MastodonAPIController, :favourited_by)
     get("/statuses/:id/reblogged_by", MastodonAPIController, :reblogged_by)