Merge branch 'fix/trailing-format-plug-oauth' into 'develop'

Fix TrailingFormatPlug not being active for /api/oauth_tokens

Closes #1385

See merge request pleroma/pleroma!1944
This commit is contained in:
rinpatch 2019-11-06 14:47:34 +00:00
commit 802d249827

View file

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