twitter card: remove IO.inspect() spam

This commit is contained in:
William Pitcock 2019-02-24 18:53:49 +00:00
parent 7daa9a8c42
commit fc9d895ebc

View file

@ -66,9 +66,7 @@ def build_tags(%{user: user}) do
end
end
defp build_attachments(id, z = %{data: %{"attachment" => attachments}}) do
IO.puts(inspect(z))
defp build_attachments(id, %{data: %{"attachment" => attachments}}) do
Enum.reduce(attachments, [], fn attachment, acc ->
rendered_tags =
Enum.reduce(attachment["url"], [], fn url, acc ->