Skip to content

Commit

Permalink
use /download instead of /get
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Valson <[email protected]>
  • Loading branch information
noslav committed Jan 27, 2025
1 parent 19624d7 commit 48a82b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/refiner/ipfs/ipfs_interactor.ex
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ defmodule Refiner.IPFSInteractor do
ipfs_url = Application.get_env(:refiner, :ipfs_pinner_url)

resp =
Finch.build(:get, "#{ipfs_url}/get?cid=#{cid}")
Finch.build(:get, "#{ipfs_url}/download?cid=#{cid}")
|> Finch.request(Refiner.Finch, receive_timeout: 150_000_000, pool_timeout: 150_000_000)

case resp do
Expand Down

0 comments on commit 48a82b8

Please sign in to comment.