fix null check on response
This commit is contained in:
parent
e9cbf7b7df
commit
0fa88b44b8
|
@ -11,7 +11,8 @@ export abstract class BaseResponse {
|
||||||
}
|
}
|
||||||
if (response == null && this.response != null) {
|
if (response == null && this.response != null) {
|
||||||
response = this.response;
|
response = this.response;
|
||||||
} else {
|
}
|
||||||
|
if (response == null) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (!exactName && response[propertyName] === undefined) {
|
if (!exactName && response[propertyName] === undefined) {
|
||||||
|
|
Loading…
Reference in New Issue