From: Ivan Tashkinov Date: Wed, 9 Sep 2020 16:43:36 +0000 (+0300) Subject: [#2497] Formatting fix. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=b4860c57a63b48ded8eaa37b9f40cc0851c78882;p=akkoma [#2497] Formatting fix. --- diff --git a/lib/pleroma/instances/instance.ex b/lib/pleroma/instances/instance.ex index 4fe4b198d..ad7764f05 100644 --- a/lib/pleroma/instances/instance.ex +++ b/lib/pleroma/instances/instance.ex @@ -156,9 +156,7 @@ defmodule Pleroma.Instances.Instance do defp scrape_favicon(%URI{} = instance_uri) do try do with {:ok, %Tesla.Env{body: html}} <- - Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}], - pool: :media - ), + Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}], pool: :media), favicon_rel <- html |> Floki.parse_document!()