*Missing args to api call in stat method

This commit is contained in:
Derrick Hammer 2023-04-09 14:59:14 -04:00
parent d813e271f0
commit d3e4577943
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

2
dist/index.js vendored
View File

@ -5,7 +5,7 @@ export class IPFSClient extends Client {
return this.callModuleReturn("ready");
}
async stat(cid, options) {
return this.callModuleReturn("stat", { options });
return this.callModuleReturn("stat", { cid, options });
}
ls(cid, options) {
return this.connectModuleGenerator("ls", { cid, options });