passing adapter options directly without adapter key
This commit is contained in:
parent
8a3d43044a
commit
696bf09433
11 changed files with 36 additions and 35 deletions
|
|
@ -124,7 +124,7 @@ defmodule Mix.Tasks.Pleroma.Frontend do
|
|||
url = String.replace(frontend_info["build_url"], "${ref}", frontend_info["ref"])
|
||||
|
||||
with {:ok, %{status: 200, body: zip_body}} <-
|
||||
Pleroma.HTTP.get(url, [], adapter: [pool: :media, recv_timeout: 120_000]) do
|
||||
Pleroma.HTTP.get(url, [], pool: :media, recv_timeout: 120_000) do
|
||||
unzip(zip_body, dest)
|
||||
else
|
||||
e -> {:error, e}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue