lint
This commit is contained in:
parent
62e8bc58c6
commit
2e039561c9
7 changed files with 18 additions and 26 deletions
|
|
@ -109,7 +109,9 @@ export const promisedRequest = async ({
|
|||
.get('content-type')
|
||||
.split(';')
|
||||
.map((x) => x.toLowerCase().trim())
|
||||
const contentLength = Number.parseInt(response.headers.get('content-length'))
|
||||
const contentLength = Number.parseInt(
|
||||
response.headers.get('content-length'),
|
||||
)
|
||||
if (contentLength === 0) return null
|
||||
|
||||
switch (contentType) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue