Add mastodon API endpoint for custom emoji.
This commit is contained in:
parent
ed1eb5deea
commit
c6210183e1
4 changed files with 15 additions and 2 deletions
|
|
@ -71,6 +71,6 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
end
|
||||
|
||||
def emoji(conn, _params) do
|
||||
json conn, Formatter.get_custom_emoji()
|
||||
json conn, Enum.into(Formatter.get_custom_emoji(), %{})
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue