CSR-297 reponse.data empty object may be valid
This commit is contained in:
parent
3c0439c0d3
commit
ae387b71da
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ export default {
|
|||
}).then(
|
||||
(response) => {
|
||||
if (response.status == httpStatusCodes.OK) {
|
||||
if(response.data == undefined || response.data == {}) {
|
||||
if(response.data == undefined) {
|
||||
reject(response);
|
||||
}else{
|
||||
resolve(response);
|
||||
|
|
|
|||
Loading…
Reference in a new issue