Fix /api/pleroma/emoji/packs index endpoint.
This commit is contained in:
parent
10d46235cf
commit
7ce722ce3e
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ defmodule Pleroma.Web.PleromaAPI.EmojiPackController do
|
||||||
)
|
)
|
||||||
|
|
||||||
@skip_plugs [Pleroma.Plugs.OAuthScopesPlug, Pleroma.Plugs.ExpectPublicOrAuthenticatedCheckPlug]
|
@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
|
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.PleromaEmojiPackOperation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue