twitter card: remove IO.inspect() spam
authorWilliam Pitcock <nenolod@dereferenced.org>
Sun, 24 Feb 2019 18:53:49 +0000 (18:53 +0000)
committerWilliam Pitcock <nenolod@dereferenced.org>
Sun, 24 Feb 2019 18:56:44 +0000 (18:56 +0000)
lib/pleroma/web/metadata/twitter_card.ex

index d672b397f8cf9006935c6f41b73af95f8d0a7ba5..a0be383e58b70d1de05424577bcd6b00f9e77777 100644 (file)
@@ -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 ->