Skip to content

Commit 9856047

Browse files
authored
Merge pull request #53 from nstrelow/fix_pubsub_peers_topic
Correct API for ipfs pubsub peers <topic>
2 parents 31ed288 + 9d2b0ca commit 9856047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/ipfs/api/IPFS.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ public Object peers() throws IOException {
232232
}
233233

234234
public Object peers(String topic) throws IOException {
235-
return retrieveAndParse("pubsub/peers?topic="+topic);
235+
return retrieveAndParse("pubsub/peers?arg="+topic);
236236
}
237237

238238
/**

0 commit comments

Comments
 (0)