1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-05-17 00:41:37 +07:00

fix: typo (#423)

Co-authored-by: Juan Picado @jotadeveloper <juanpicado19@gmail.com>
This commit is contained in:
James George 2020-01-14 08:41:13 +05:30 committed by Juan Picado @jotadeveloper
parent dad44c46c0
commit 164cea6c10

View File

@ -20,7 +20,7 @@ export function handleResponseType(response: Response): Promise<[boolean, Blob |
return Promise.all([response.ok, response.text()]);
}
// unfortunatelly on download files there is no header available
// unfortunately on download files there is no header available
if (response.url && response.url.endsWith('.tgz') === true) {
return Promise.all([response.ok, response.blob()]);
}