diff --git a/src/index.ts b/src/index.ts index a5b1e0b..017120c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,7 @@ export class IPFSClient extends Client { } public async stat(cid: string, options?: Partial) { - return this.callModuleReturn("stat", { options }); + return this.callModuleReturn("stat", { cid, options }); } public ls(cid: string, options?: Partial): AbortableGenerator {