From e8cdd5ca1ad0b06438b5ef1bda992195e374938b Mon Sep 17 00:00:00 2001 From: Leslie Tilton <23057410+Banrion@users.noreply.github.com> Date: Fri, 23 Jan 2026 11:00:36 -0600 Subject: [PATCH] Add default return on isPhishingWebAddress --- .../dirt/phishing-detection/services/phishing-data.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts b/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts index 795d9113c87..02b153006da 100644 --- a/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts +++ b/apps/browser/src/dirt/phishing-detection/services/phishing-data.service.ts @@ -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