aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/common_api/common_api.ex
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-04-01 17:17:57 +0700
committerAlex S <alex.strizhakov@gmail.com>2019-04-01 17:17:57 +0700
commit3601f03147bd104f6acff64e7c8d5d4d3e1f53a2 (patch)
tree9575002d2291587dc3080fdd3b65144d6535bfef /lib/pleroma/web/common_api/common_api.ex
parentdc39d8d3fb941bad9fe26586c321bb00a0b92fe4 (diff)
downloadpleroma-3601f03147bd104f6acff64e7c8d5d4d3e1f53a2.tar.gz
Adding tag to emoji ets table
changes in apis
Diffstat (limited to 'lib/pleroma/web/common_api/common_api.ex')
-rw-r--r--lib/pleroma/web/common_api/common_api.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/common_api/common_api.ex b/lib/pleroma/web/common_api/common_api.ex
index 25b990677..f910eb1f9 100644
--- a/lib/pleroma/web/common_api/common_api.ex
+++ b/lib/pleroma/web/common_api/common_api.ex
@@ -167,7 +167,7 @@ defmodule Pleroma.Web.CommonAPI do
object,
"emoji",
(Formatter.get_emoji(status) ++ Formatter.get_emoji(data["spoiler_text"]))
- |> Enum.reduce(%{}, fn {name, file}, acc ->
+ |> Enum.reduce(%{}, fn {name, file, _}, acc ->
Map.put(acc, name, "#{Pleroma.Web.Endpoint.static_url()}#{file}")
end)
) do