From: rinpatch Date: Wed, 6 Nov 2019 14:22:23 +0000 (+0300) Subject: Fix TrailingFormatPlug not being active for /api/oauth_tokens X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=c389fb4dcc56530cf9345a12df9e756ed850fcf8;p=akkoma Fix TrailingFormatPlug not being active for /api/oauth_tokens --- diff --git a/lib/pleroma/plugs/trailing_format_plug.ex b/lib/pleroma/plugs/trailing_format_plug.ex index ce366b218..a4b8a406d 100644 --- a/lib/pleroma/plugs/trailing_format_plug.ex +++ b/lib/pleroma/plugs/trailing_format_plug.ex @@ -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