From fcdd42f2a32281ba4dabf4c548657b40b9b4a4ef Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 17 Dec 2023 17:13:18 -0500 Subject: [PATCH] fix: return GetMetadataResponse --- src/methods/download.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/methods/download.ts b/src/methods/download.ts index add3fca..b69448a 100644 --- a/src/methods/download.ts +++ b/src/methods/download.ts @@ -138,7 +138,7 @@ export async function getMetadata( extraPath: cid, }); - return response.data; + return { metadata: response.data }; } /**