mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-09 09:51:02 +01:00
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
Block a user