Fix /api/pleroma/emoji/packs index endpoint.

Tento commit je obsažen v:
KokaKiwi 2020-07-18 12:55:04 +02:00
rodič 10d46235cf
revize 7ce722ce3e
V databázi nebyl nalezen žádný známý klíč pro tento podpis
ID GPG klíče: 09A5A2688F13FAC1

Zobrazit soubor

@ -22,7 +22,7 @@ defmodule Pleroma.Web.PleromaAPI.EmojiPackController do
)
@skip_plugs [Pleroma.Plugs.OAuthScopesPlug, Pleroma.Plugs.ExpectPublicOrAuthenticatedCheckPlug]
plug(:skip_plug, @skip_plugs when action in [:archive, :show, :list])
plug(:skip_plug, @skip_plugs when action in [:index, :show, :archive])
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.PleromaEmojiPackOperation