From: Ekaterina Vaartis Date: Mon, 12 Aug 2019 13:43:28 +0000 (+0300) Subject: Send ok for emoji reloading as text, not as json X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=7a0c755d0a69157868e245b35b48ed07a7dfd3c7;p=akkoma Send ok for emoji reloading as text, not as json --- diff --git a/lib/pleroma/web/emoji_api/emoji_api_controller.ex b/lib/pleroma/web/emoji_api/emoji_api_controller.ex index 8219eaaa1..72daccc8c 100644 --- a/lib/pleroma/web/emoji_api/emoji_api_controller.ex +++ b/lib/pleroma/web/emoji_api/emoji_api_controller.ex @@ -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(