Fix /api/pleroma/emoji/packs index endpoint.
authorKokaKiwi <kokakiwi+pleroma@kokakiwi.net>
Sat, 18 Jul 2020 10:55:04 +0000 (12:55 +0200)
committerKokaKiwi <kokakiwi+pleroma@kokakiwi.net>
Sat, 18 Jul 2020 10:55:04 +0000 (12:55 +0200)
lib/pleroma/web/pleroma_api/controllers/emoji_pack_controller.ex

index 33ecd1f70979ce27af7e335f58e8f8c0fe5ff647..8669013448fb3b0c1f95e71c6d96e25bd7075457 100644 (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