mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +00:00
fix null check on response
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user