Skip to content

Commit b70cb01

Browse files
authored
fix: use cat instead of get for ipfs (#672)
1 parent 641d586 commit b70cb01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/dips/src/ipfs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ impl IpfsFetcher for IpfsClient {
4747
async fn fetch(&self, file: &str) -> Result<GraphManifest, DipsError> {
4848
let content = self
4949
.client
50-
.get(file.as_ref())
50+
.cat(file.as_ref())
5151
.map_ok(|chunk| chunk.to_vec())
5252
.try_concat()
5353
.await

0 commit comments

Comments
 (0)