Add debug logs to timeline rendering to assist debugging
[akkoma] / lib / pleroma / user.ex
index 48052198489faeac2338782b1b4b8db76757690a..ead37ccca00a03f070f99cef5357fc186acc2362 100644 (file)
@@ -374,7 +374,7 @@ defmodule Pleroma.User do
     do_optional_url(user.banner, "#{Endpoint.url()}/images/banner.png", options)
   end
 
-  defp do_optional_url(field, default, options \\ []) do
+  defp do_optional_url(field, default, options) do
     case field do
       %{"url" => [%{"href" => href} | _]} when is_binary(href) ->
         href