Render mastodon-like errors in FilterController

This commit is contained in:
Egor Kislitsyn 2020-04-28 16:25:13 +04:00
parent 46aae346f8
commit 32ca9f2c59
No known key found for this signature in database
GPG key ID: 1B49CB15B71E7805

View file

@ -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"