This commit is contained in:
Henry Jameson 2026-08-04 00:34:48 +03:00
commit 0745ccf995
7 changed files with 15 additions and 15 deletions

View file

@ -109,7 +109,7 @@ export const promisedRequest = async ({
.get('content-type')
.split(';')
.map((x) => x.toLowerCase().trim())
const contentLength = parseInt(response.headers.get('content-length'))
const contentLength = Number.parseInt(response.headers.get('content-length'))
if (contentLength === 0) return null
switch (contentType) {