CSR-297 empty object valid

This commit is contained in:
CarlNation 2022-03-01 11:35:51 -05:00
parent 9e1dc3db61
commit 97403cbb8b

View file

@ -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);