Fix TrailingFormatPlug not being active for /api/oauth_tokens
authorrinpatch <rinpatch@sdf.org>
Wed, 6 Nov 2019 14:22:23 +0000 (17:22 +0300)
committerrinpatch <rinpatch@sdf.org>
Fri, 8 Nov 2019 19:46:51 +0000 (22:46 +0300)
lib/pleroma/plugs/trailing_format_plug.ex

index ce366b2183dccfc0a9a73cdc7607a84f70094af5..a4b8a406d2a6693bad594bee095b450d1c45b570 100644 (file)
@@ -24,7 +24,8 @@ defmodule Pleroma.Plugs.TrailingFormatPlug do
     "/api/help",
     "/api/externalprofile",
     "/notice",
-    "/api/pleroma/emoji"
+    "/api/pleroma/emoji",
+    "/api/oauth_tokens"
   ]
 
   def init(opts) do