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
1 changed files with 1 additions and 1 deletions

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"