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) {
|
||||
return { response, status, data }
|
||||
} else {
|
||||
throw new StatusCodeError(
|
||||
response.status,
|
||||
data,
|
||||
{ url, options },
|
||||
response,
|
||||
)
|
||||
throw new StatusCodeError(response.status, data, { url, options }, response)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue