summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-04-28 16:25:13 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-05-05 17:41:16 +0400
commit32ca9f2c59369c15905f665bee3c759ae963ff91 (patch)
treed99f16077eecc9ff84fb6c63f187125315b2f98c
parent46aae346f8530d4b9933b8e718e9578a96447f0a (diff)
Render mastodon-like errors in FilterController
-rw-r--r--lib/pleroma/web/mastodon_api/controllers/filter_controller.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/mastodon_api/controllers/filter_controller.ex b/lib/pleroma/web/mastodon_api/controllers/filter_controller.ex
index 21dc374cd..abbf0ce02 100644
--- a/lib/pleroma/web/mastodon_api/controllers/filter_controller.ex
+++ b/lib/pleroma/web/mastodon_api/controllers/filter_controller.ex
@@ -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"