passing adapter options directly without adapter key

This commit is contained in:
Alexander Strizhakov 2020-09-07 16:57:42 +03:00
commit 696bf09433
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
11 changed files with 36 additions and 35 deletions

View file

@ -22,7 +22,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.MediaProxyWarmingPolicy do
url
|> MediaProxy.url()
|> HTTP.get([], adapter: @options)
|> HTTP.get([], @options)
end
def perform(:preload, %{"object" => %{"attachment" => attachments}} = _message) do