Make body work with fetch()

pull/301/head
Zef Hemel 2023-01-08 21:08:17 +01:00
parent d3c58da4bf
commit 2617e0e587
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ export async function sandboxFetch(
req && {
method: req.method,
headers: req.headers,
body: req.body,
},
);
const body = await (await result.blob()).arrayBuffer();