Browse Source

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

chores/our-libs-hex-releases
KokaKiwi 4 years ago
parent
commit
7ce722ce3e
No known key found for this signature in database GPG Key ID: 9A5A2688F13FAC1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lib/pleroma/web/pleroma_api/controllers/emoji_pack_controller.ex

+ 1
- 1
lib/pleroma/web/pleroma_api/controllers/emoji_pack_controller.ex View File

@@ -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



Loading…
Cancel
Save