forked from AkkomaGang/akkoma
Merge branch 'fix/fake-filters' into 'develop'
Revert "Mastodon API: Fake support for loading filters" See merge request pleroma/pleroma!348
This commit is contained in:
commit
47c9b972b9
2 changed files with 0 additions and 6 deletions
|
@ -1189,8 +1189,4 @@ def suggestions(%{assigns: %{user: user}} = conn, _) do
|
||||||
json(conn, [])
|
json(conn, [])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def filters(conn, _) do
|
|
||||||
json(conn, [])
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -172,8 +172,6 @@ defmodule Pleroma.Web.Router do
|
||||||
delete("/filters/:id", MastodonAPIController, :delete_filter)
|
delete("/filters/:id", MastodonAPIController, :delete_filter)
|
||||||
|
|
||||||
get("/suggestions", MastodonAPIController, :suggestions)
|
get("/suggestions", MastodonAPIController, :suggestions)
|
||||||
|
|
||||||
get("/filters", MastodonAPIController, :filters)
|
|
||||||
end
|
end
|
||||||
|
|
||||||
scope "/api/web", Pleroma.Web.MastodonAPI do
|
scope "/api/web", Pleroma.Web.MastodonAPI do
|
||||||
|
|
Loading…
Reference in a new issue