projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
clients.md: Add Kyclos
[akkoma]
/
lib
/
pleroma
/
web
/
pleroma_api
/
controllers
/
emoji_api_controller.ex
diff --git
a/lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex
b/lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex
index 1e8c62e3ae30f547480b5bf429bca4634578e7c9..0bbf84fd3706d2dc9c904af8a0ae86afc5442eda 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex
+++ b/
lib/pleroma/web/pleroma_api/controllers/emoji_api_controller.ex
@@
-7,7
+7,7
@@
defmodule Pleroma.Web.PleromaAPI.EmojiAPIController do
plug(
OAuthScopesPlug,
plug(
OAuthScopesPlug,
- %{scopes: ["
admin:write", "write"]
}
+ %{scopes: ["
write"], admin: true
}
when action in [
:create,
:delete,
when action in [
:create,
:delete,
@@
-52,7
+52,7
@@
defmodule Pleroma.Web.PleromaAPI.EmojiAPIController do
@doc """
Lists the packs available on the instance as JSON.
@doc """
Lists the packs available on the instance as JSON.
- The information is public and does not require authenti
fi
cation. The format is
+ The information is public and does not require authentication. The format is
a map of "pack directory name" to pack.json contents.
"""
def list_packs(conn, _params) do
a map of "pack directory name" to pack.json contents.
"""
def list_packs(conn, _params) do