Send ok for emoji reloading as text, not as json
This commit is contained in:
parent
ee620ecbf1
commit
7a0c755d0a
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ defmodule Pleroma.Web.EmojiAPI.EmojiAPIController do
|
|||
def reload(conn, _params) do
|
||||
Pleroma.Emoji.reload()
|
||||
|
||||
conn |> json("ok")
|
||||
conn |> text("ok")
|
||||
end
|
||||
|
||||
@emoji_dir_path Path.join(
|
||||
|
|
Loading…
Reference in a new issue