*Missing args to api call in stat method
This commit is contained in:
parent
d813e271f0
commit
d3e4577943
|
@ -5,7 +5,7 @@ export class IPFSClient extends Client {
|
||||||
return this.callModuleReturn("ready");
|
return this.callModuleReturn("ready");
|
||||||
}
|
}
|
||||||
async stat(cid, options) {
|
async stat(cid, options) {
|
||||||
return this.callModuleReturn("stat", { options });
|
return this.callModuleReturn("stat", { cid, options });
|
||||||
}
|
}
|
||||||
ls(cid, options) {
|
ls(cid, options) {
|
||||||
return this.connectModuleGenerator("ls", { cid, options });
|
return this.connectModuleGenerator("ls", { cid, options });
|
||||||
|
|
Loading…
Reference in New Issue