diff options
author | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-09-09 19:43:36 +0300 |
---|---|---|
committer | Ivan Tashkinov <ivantashkinov@gmail.com> | 2020-09-09 19:43:36 +0300 |
commit | b4860c57a63b48ded8eaa37b9f40cc0851c78882 (patch) | |
tree | ddc58e05845cf3befccb3b568ec79e18a00321eb | |
parent | 68a74d66596f0e35f0e080de25e4679d2c8b1b76 (diff) | |
download | pleroma-b4860c57a63b48ded8eaa37b9f40cc0851c78882.tar.gz |
[#2497] Formatting fix.
-rw-r--r-- | lib/pleroma/instances/instance.ex | 4 |
1 files changed, 1 insertions, 3 deletions
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!() |