fetchWorker: Array.from --> [...]
This commit is contained in:
parent
86749cc285
commit
1232c5a838
|
@ -14,7 +14,7 @@ export const FetchWorker = {
|
||||||
{
|
{
|
||||||
status: response.status,
|
status: response.status,
|
||||||
statusText: response.statusText,
|
statusText: response.statusText,
|
||||||
headers: Array.from(response.headers.entries()),
|
headers: [...response.headers.entries()],
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue