From a5486a4973d23c3c1cf76c8d2f24a9e510bf2965 Mon Sep 17 00:00:00 2001 From: Nulo Date: Fri, 9 Dec 2022 16:41:24 -0300 Subject: [PATCH] Actually send body when verifying upload --- src/upload.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/upload.ts b/src/upload.ts index dc63123..0286267 100644 --- a/src/upload.ts +++ b/src/upload.ts @@ -116,7 +116,7 @@ export default async function uploadBlob( // - Figure out which LFS implementation wants which UA header? ...(verifyAction.header ?? {}), }, - body: [info], + body: [Buffer.from(JSON.stringify(info))], }); if (verificationResp.statusCode === 200) {