Browse Source

twitter card: remove IO.inspect() spam

tags/v1.1.4
William Pitcock 5 years ago
parent
commit
fc9d895ebc
1 changed files with 1 additions and 3 deletions
  1. +1
    -3
      lib/pleroma/web/metadata/twitter_card.ex

+ 1
- 3
lib/pleroma/web/metadata/twitter_card.ex View 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 ->


Loading…
Cancel
Save