Commit f4fcea52 authored by Martin's avatar Martin
Browse files

Revert "Mastodon API: Fake support for loading filters"

This reverts commit c1d07da4.

The fake support was superseded by 6e030129 which actually implements the faked filters API.

This change removes the fake support and ensures that the actual implementation is used.
parent 22c366a8
......@@ -1189,8 +1189,4 @@ def suggestions(%{assigns: %{user: user}} = conn, _) 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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment