Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
fix null check on response
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Mar 7, 2019
1 parent e9cbf7b commit 0fa88b4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/models/response/baseResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ export abstract class BaseResponse {
}
if (response == null && this.response != null) {
response = this.response;
} else {
}
if (response == null) {
return null;
}
if (!exactName && response[propertyName] === undefined) {
Expand Down

0 comments on commit 0fa88b4

Please sign in to comment.