forked from AkkomaGang/akkoma
Let moderators manage custom emojis
This commit is contained in:
parent
1f093cb216
commit
4fe9a758f9
1 changed files with 2 additions and 2 deletions
|
@ -265,7 +265,7 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
scope "/api/v1/pleroma/emoji", Pleroma.Web.PleromaAPI do
|
||||
scope "/pack" do
|
||||
pipe_through([:admin_api, :require_admin])
|
||||
pipe_through(:admin_api)
|
||||
|
||||
post("/", EmojiPackController, :create)
|
||||
patch("/", EmojiPackController, :update)
|
||||
|
@ -280,7 +280,7 @@ defmodule Pleroma.Web.Router do
|
|||
|
||||
# Modifying packs
|
||||
scope "/packs" do
|
||||
pipe_through([:admin_api, :require_admin])
|
||||
pipe_through(:admin_api)
|
||||
|
||||
get("/import", EmojiPackController, :import_from_filesystem)
|
||||
get("/remote", EmojiPackController, :remote)
|
||||
|
|
Loading…
Reference in a new issue