Skip to content

Commit 43650aa

Browse files
committed
name_resolve should be an ArgCommand, not a Command
Assuming that I am trying to use name_resolve correctly: >>> api.name_resolve('QmXfrS3pHerg44zzK6QKQj6JDk8H6cMtQS7pdXbohwNQfK') It looks as if it needs to be specified as an `ArgCommand`, rather than as a `Command`. Closes #4.
1 parent a2fee8b commit 43650aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ipfsApi/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def __init__(self,
5959
# ADVANCED COMMANDS
6060
self.resolve = ArgCommand('/resolve')
6161
self.name_publish = ArgCommand('/name/publish')
62-
self.name_resolve = Command('/name/resolve')
62+
self.name_resolve = ArgCommand('/name/resolve')
6363
self.dns = ArgCommand('/dns')
6464
self.pin_add = ArgCommand('/pin/add')
6565
self.pin_rm = ArgCommand('/pin/rm')

0 commit comments

Comments
 (0)