Fix incompatible declaration for reading body

Co-authored-by: Louis Bailleau <Bricklou@users.noreply.github.com>
pull/588/head
i-c-b 2 years ago committed by GitHub
parent a57be13735
commit 4d7762a401
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -110,7 +110,7 @@ export async function fetch(
},
);
const res = new Response(Uint8Array.from(body), {
const res = new Response(new Uint8Array(body), {
headers,
status,
statusText,

Loading…
Cancel
Save