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,
|
OAuthScopesPlug,
|
||||||
%{scopes: ["write:filters"]} when action not in @oauth_read_actions
|
%{scopes: ["write:filters"]} when action not in @oauth_read_actions
|
||||||
)
|
)
|
||||||
|
|
||||||
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.FilterOperation
|
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.FilterOperation
|
||||||
|
|
||||||
@doc "GET /api/v1/filters"
|
@doc "GET /api/v1/filters"
|
||||||
|
|
Loading…
Reference in New Issue