From 8aa77e16a31b98310c3401548ef9742402c8628a Mon Sep 17 00:00:00 2001 From: Rui Chen Date: Mon, 9 Jun 2025 18:34:23 -0400 Subject: [PATCH] fix(upload): drop unsupported `{ type: "bytes" }` arg to readableWebStream() Signed-off-by: Rui Chen --- src/github.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.ts b/src/github.ts index c99108a..ef39ca8 100644 --- a/src/github.ts +++ b/src/github.ts @@ -188,7 +188,7 @@ export const upload = async ( "content-type": mime, authorization: `token ${config.github_token}`, }, - data: fh.readableWebStream({ type: "bytes" }), + data: fh.readableWebStream(), }); const json = resp.data; if (resp.status !== 201) {