diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/pleroma_api/controllers/emoji_reaction_controller.ex | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/pleroma/web/pleroma_api/controllers/emoji_reaction_controller.ex b/lib/pleroma/web/pleroma_api/controllers/emoji_reaction_controller.ex index 0093bc4dc..a93a5eaa8 100644 --- a/lib/pleroma/web/pleroma_api/controllers/emoji_reaction_controller.ex +++ b/lib/pleroma/web/pleroma_api/controllers/emoji_reaction_controller.ex @@ -94,8 +94,6 @@ defmodule Pleroma.Web.PleromaAPI.EmojiReactionController do end def emoji_reactions(conn, _params) do - conn - |> put_resp_content_type("application/json") - |> send_resp(200, Jason.encode!(Emoji.emoji_reactions())) + json(conn, Emoji.emoji_reactions()) end end |