added code\path fields without html tags in ets
This commit is contained in:
parent
cef2e980b1
commit
d7808b5db4
7 changed files with 93 additions and 74 deletions
|
|
@ -240,7 +240,7 @@ defmodule Pleroma.Web.TwitterAPI.UtilController do
|
|||
def emoji(conn, _params) do
|
||||
emoji =
|
||||
Emoji.get_all()
|
||||
|> Enum.map(fn {short_code, path, tags} ->
|
||||
|> Enum.map(fn {short_code, path, tags, _, _} ->
|
||||
{short_code, %{image_url: path, tags: tags}}
|
||||
end)
|
||||
|> Enum.into(%{})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue