projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
integrate search endpoint with ES
[akkoma]
/
lib
/
pleroma
/
web
/
mastodon_api
/
controllers
/
custom_emoji_controller.ex
diff --git
a/lib/pleroma/web/mastodon_api/controllers/custom_emoji_controller.ex
b/lib/pleroma/web/mastodon_api/controllers/custom_emoji_controller.ex
index 872cb1f4de04986f2e0e2d6db15e57d9dca783b5..31b647755055c05b75a473bb5b77d41c699419e9 100644
(file)
--- a/
lib/pleroma/web/mastodon_api/controllers/custom_emoji_controller.ex
+++ b/
lib/pleroma/web/mastodon_api/controllers/custom_emoji_controller.ex
@@
-1,5
+1,5
@@
# Pleroma: A lightweight social networking server
# Pleroma: A lightweight social networking server
-# Copyright © 2017-202
0
Pleroma Authors <https://pleroma.social/>
+# Copyright © 2017-202
1
Pleroma Authors <https://pleroma.social/>
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MastodonAPI.CustomEmojiController do
# SPDX-License-Identifier: AGPL-3.0-only
defmodule Pleroma.Web.MastodonAPI.CustomEmojiController do
@@
-7,11
+7,7
@@
defmodule Pleroma.Web.MastodonAPI.CustomEmojiController do
plug(Pleroma.Web.ApiSpec.CastAndValidate)
plug(Pleroma.Web.ApiSpec.CastAndValidate)
- plug(
- :skip_plug,
- [Pleroma.Web.Plugs.OAuthScopesPlug, Pleroma.Web.Plugs.EnsurePublicOrAuthenticatedPlug]
- when action == :index
- )
+ plug(:skip_auth when action == :index)
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.CustomEmojiOperation
defdelegate open_api_operation(action), to: Pleroma.Web.ApiSpec.CustomEmojiOperation