lint
This commit is contained in:
parent
6060d4efbc
commit
728ba716b8
1 changed files with 1 additions and 6 deletions
|
|
@ -122,12 +122,7 @@ export const promisedRequest = async ({
|
||||||
if (ok) {
|
if (ok) {
|
||||||
return { response, status, data }
|
return { response, status, data }
|
||||||
} else {
|
} else {
|
||||||
throw new StatusCodeError(
|
throw new StatusCodeError(response.status, data, { url, options }, response)
|
||||||
response.status,
|
|
||||||
data,
|
|
||||||
{ url, options },
|
|
||||||
response,
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue