mirror of
https://akkoma.dev/AkkomaGang/akkoma.git
synced 2024-12-28 03:13:13 +00:00
twitter card: remove IO.inspect() spam
This commit is contained in:
parent
7daa9a8c42
commit
fc9d895ebc
|
@ -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…
Reference in a new issue