[#2497] Added missing alias, removed legacy :adapter option specification for HTTP.get/_.

This commit is contained in:
Ivan Tashkinov 2020-09-09 19:30:42 +03:00
commit 68a74d6659
4 changed files with 5 additions and 4 deletions

View file

@ -157,7 +157,7 @@ defmodule Pleroma.Instances.Instance do
try do
with {:ok, %Tesla.Env{body: html}} <-
Pleroma.HTTP.get(to_string(instance_uri), [{"accept", "text/html"}],
adapter: [pool: :media]
pool: :media
),
favicon_rel <-
html