Revert "Mastodon API: Fake support for loading filters"
This reverts commit c1d07da4e18cc2acd11a5a131e1482aec5996552. The fake support was superseded by 6e030129fb33926e6a5bd75c27af6f657f9da2a5 which actually implements the faked filters API. This change removes the fake support and ensures that the actual implementation is used.
This commit is contained in:
parent
22c366a85f
commit
f4fcea5258
@ -1189,8 +1189,4 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
||||
json(conn, [])
|
||||
end
|
||||
end
|
||||
|
||||
def filters(conn, _) do
|
||||
json(conn, [])
|
||||
end
|
||||
end
|
||||
|
@ -172,8 +172,6 @@ defmodule Pleroma.Web.Router do
|
||||
delete("/filters/:id", MastodonAPIController, :delete_filter)
|
||||
|
||||
get("/suggestions", MastodonAPIController, :suggestions)
|
||||
|
||||
get("/filters", MastodonAPIController, :filters)
|
||||
end
|
||||
|
||||
scope "/api/web", Pleroma.Web.MastodonAPI do
|
||||
|
Loading…
x
Reference in New Issue
Block a user