projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Put custom guards in Web.Utils.Guards
[akkoma]
/
lib
/
pleroma
/
web
/
pleroma_api
/
controllers
/
emoji_file_controller.ex
diff --git
a/lib/pleroma/web/pleroma_api/controllers/emoji_file_controller.ex
b/lib/pleroma/web/pleroma_api/controllers/emoji_file_controller.ex
index 6a41bbab4bfe563b6f77402e9b63174b799c1b4b..204e81311f7adfc88f2edf2e9611780b85fdf85d 100644
(file)
--- a/
lib/pleroma/web/pleroma_api/controllers/emoji_file_controller.ex
+++ b/
lib/pleroma/web/pleroma_api/controllers/emoji_file_controller.ex
@@
-12,7
+12,7
@@
defmodule Pleroma.Web.PleromaAPI.EmojiFileController do
plug(
Pleroma.Web.Plugs.OAuthScopesPlug,
- %{scopes: ["
write"], admin: true
}
+ %{scopes: ["
admin:write"]
}
when action in [
:create,
:update,