diff --git a/orchestrator/src/server/pipeline/steps/discover-jobs.ts b/orchestrator/src/server/pipeline/steps/discover-jobs.ts index a29d5b8..b4f6f38 100644 --- a/orchestrator/src/server/pipeline/steps/discover-jobs.ts +++ b/orchestrator/src/server/pipeline/steps/discover-jobs.ts @@ -15,7 +15,10 @@ import { isSourceAllowedForCountry, normalizeCountryKey, } from "@shared/location-support.js"; -import { textMatchesAnyKeyword } from "@shared/keyword-match.js"; +import { + textMatchesAnyKeyword, + textMatchesKeyword, +} from "@shared/keyword-match.js"; import { resolveBlockedCompanyKeywordsFromStoredString } from "@shared/resolve-blocked-company-keywords.js"; import { inferCountryKeyFromSearchGeography, @@ -164,7 +167,7 @@ function filterJobsBySearchProfile(args: { if ( dealBreakers.length > 0 && - dealBreakers.some((breaker) => textMatchesAnyKeyword(haystack, breaker)) + dealBreakers.some((breaker) => textMatchesKeyword(haystack, breaker)) ) { return false; }