diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-04-28 16:25:13 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-05-05 17:41:16 +0400 |
commit | 32ca9f2c59369c15905f665bee3c759ae963ff91 (patch) | |
tree | d99f16077eecc9ff84fb6c63f187125315b2f98c | |
parent | 46aae346f8530d4b9933b8e718e9578a96447f0a (diff) | |
download | pleroma-32ca9f2c59369c15905f665bee3c759ae963ff91.tar.gz |
Render mastodon-like errors in FilterController
-rw-r--r-- | lib/pleroma/web/mastodon_api/controllers/filter_controller.ex | 2 |
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" |