Implememt emoji pack file updating + write tests
This commit is contained in:
parent
261d92f9c2
commit
9afe7258dd
3 changed files with 196 additions and 8 deletions
|
|
@ -218,7 +218,8 @@ defmodule Pleroma.Web.Router do
|
|||
# Modifying packs
|
||||
pipe_through([:admin_api, :oauth_write])
|
||||
|
||||
post("/update_metadata/:name", EmojiAPIController, :update_metadata)
|
||||
post("/update_file/:pack_name", EmojiAPIController, :update_file)
|
||||
post("/update_metadata/:pack_name", EmojiAPIController, :update_metadata)
|
||||
delete("/delete/:name", EmojiAPIController, :delete)
|
||||
post("/download_from", EmojiAPIController, :download_from)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue