Render mastodon-like errors in FilterController
authorEgor Kislitsyn <egor@kislitsyn.com>
Tue, 28 Apr 2020 12:25:13 +0000 (16:25 +0400)
committerEgor Kislitsyn <egor@kislitsyn.com>
Tue, 5 May 2020 13:41:16 +0000 (17:41 +0400)
lib/pleroma/web/mastodon_api/controllers/filter_controller.ex

index 21dc374cd85407a62edfee8bdb267ae2f44d8741..abbf0ce02e9c0f50085f682ecca6e4e19f231e79 100644 (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"