fetchWorker: Array.from --> [...]

This commit is contained in:
Alex Gleason
2023-11-29 13:04:22 -06:00
parent 86749cc285
commit 1232c5a838

View File

@@ -14,7 +14,7 @@ export const FetchWorker = {
{
status: response.status,
statusText: response.statusText,
headers: Array.from(response.headers.entries()),
headers: [...response.headers.entries()],
},
];
},