1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-19 19:04:01 +00:00

Add default return on isPhishingWebAddress

This commit is contained in:
Leslie Tilton
2026-01-23 11:00:36 -06:00
parent 4e893cc707
commit e8cdd5ca1a

View File

@@ -160,8 +160,8 @@ export class PhishingDataService {
const resource = getPhishingResources(this.resourceType);
// Quick lookup: check direct presence of hostname in IndexedDB
try {
// Quick lookup: check direct presence of hostname in IndexedDB
const hasUrl = await this.indexedDbService.hasUrl(url.hostname);
if (hasUrl) {
return true;
@@ -184,6 +184,7 @@ export class PhishingDataService {
}
return false;
}
return false;
}
// [FIXME] Pull fetches into api service