From d813e271f04c96d628b12b40b5ac1797d488ca2d Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 9 Apr 2023 14:58:46 -0400 Subject: [PATCH] *Missing args to api call in stat method --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {