mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-24 18:15:19 +00:00
Mastodon API: Fake support for loading filters
This commit is contained in:
parent
619f67768a
commit
c1d07da4e1
|
@ -1188,4 +1188,8 @@ defmodule Pleroma.Web.MastodonAPI.MastodonAPIController do
|
|||
json(conn, [])
|
||||
end
|
||||
end
|
||||
|
||||
def filters(conn, _) do
|
||||
json(conn, [])
|
||||
end
|
||||
end
|
||||
|
|
|
@ -162,6 +162,8 @@ 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…
Reference in a new issue