Send ok for emoji reloading as text, not as json

This commit is contained in:
Ekaterina Vaartis 2019-08-12 16:43:28 +03:00
parent ee620ecbf1
commit 7a0c755d0a

View file

@ -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(