Skip to content

Commit 9d2b0ca

Browse files
committed
Correct API for ipfs pubsub peers <topic>
1 parent d6879d2 commit 9d2b0ca

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)