fix(upload): drop unsupported { type: "bytes" } arg to readableWebStream()

Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
Rui Chen 2025-06-09 18:34:23 -04:00
parent 57ea1b7d99
commit 8aa77e16a3
No known key found for this signature in database
GPG key ID: 6577287BDCA70840

View file

@ -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) {