Skip to content

Commit

Permalink
Update IPFS.java
Browse files Browse the repository at this point in the history
  • Loading branch information
andrei-tara authored Aug 3, 2022
1 parent c8320f7 commit feebba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/io/ipfs/api/IPFS.java
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ public String resolve(Multihash hash) throws IOException {
}

public Map resolve(String ipns) throws IOException {
return retrieveAndParse("name/resolve?arg=" + ipns);
return (Map) retrieveAndParse("name/resolve?arg=" + ipns);
}

}
Expand Down

0 comments on commit feebba0

Please sign in to comment.