Skip to content
Snippets Groups Projects
Commit 2ed7003c authored by kaniini's avatar kaniini
Browse files

Merge branch 'trivial/remove-io-inspect-spam' into 'develop'

twitter card: remove IO.inspect() spam

See merge request pleroma/pleroma!863
parents 7daa9a8c fc9d895e
No related branches found
No related tags found
No related merge requests found
......@@ -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 ->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment