lint
This commit is contained in:
parent
93043ed330
commit
6e809aa11b
1 changed files with 6 additions and 0 deletions
|
|
@ -126,6 +126,12 @@ export const promisedRequest = ({
|
|||
)
|
||||
}
|
||||
|
||||
if (typeof json !== 'object') {
|
||||
return resolve({
|
||||
_response: response,
|
||||
_value: json
|
||||
})
|
||||
}
|
||||
json._response = response
|
||||
|
||||
return resolve(json)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue