Merge branch 'trivial/remove-io-inspect-spam' into 'develop'
twitter card: remove IO.inspect() spam See merge request pleroma/pleroma!863
This commit is contained in:
commit
2ed7003c26
|
@ -66,9 +66,7 @@ def build_tags(%{user: user}) 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 New Issue