mirror of
https://github.com/softprops/action-gh-release.git
synced 2025-06-27 22:06:03 +00:00
fix(upload): drop unsupported { type: "bytes" }
arg to readableWebStream()
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
57ea1b7d99
commit
8aa77e16a3
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue