From: William Pitcock Date: Sun, 24 Feb 2019 18:53:49 +0000 (+0000) Subject: twitter card: remove IO.inspect() spam X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=fc9d895ebc71cb89192e23f7dca0a7fabaa2cdab;p=akkoma twitter card: remove IO.inspect() spam --- diff --git a/lib/pleroma/web/metadata/twitter_card.ex b/lib/pleroma/web/metadata/twitter_card.ex index d672b397f..a0be383e5 100644 --- a/lib/pleroma/web/metadata/twitter_card.ex +++ b/lib/pleroma/web/metadata/twitter_card.ex @@ -66,9 +66,7 @@ defmodule Pleroma.Web.Metadata.Providers.TwitterCard 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 ->