Render mastodon-like errors in FilterController
This commit is contained in:
parent
46aae346f8
commit
32ca9f2c59
|
@ -17,7 +17,7 @@ defmodule Pleroma.Web.MastodonAPI.FilterController do
|
|||
OAuthScopesPlug,
|
||||
%{scopes: ["write:filters"]} when action not in @oauth_read_actions
|
||||
)
|
||||
|
||||
|
||||
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.FilterOperation
|
||||
|
||||
@doc "GET /api/v1/filters"
|
||||
|
|
Loading…
Reference in a new issue