diff --git a/src/utils/TGHttp.ts b/src/utils/TGHttp.ts index ad5c84fd..f2b2a449 100644 --- a/src/utils/TGHttp.ts +++ b/src/utils/TGHttp.ts @@ -65,7 +65,7 @@ async function TGHttp( return await fetch(url, fetchOptions) .then((res) => { if (res.ok) { - const data = options.isBlob ? res.blob() : res.json(); + const data = options.isBlob ? res.arrayBuffer() : res.json(); if (fullResponse) { return { data, resp: res }; }