diff --git a/package.json b/package.json index 116b03b..c301acc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clerkent", - "version": "3.4.2", + "version": "3.4.3", "private": true, "description": "quick search legal search", "repository": "https://github.com/lacuna-technologies/clerkent.git", diff --git a/src/utils/scraper/EU/EU.ts b/src/utils/scraper/EU/EU.ts index 05ef804..d997cac 100644 --- a/src/utils/scraper/EU/EU.ts +++ b/src/utils/scraper/EU/EU.ts @@ -34,6 +34,7 @@ const getCaseByName = async (caseName: string): Promise => { const getCaseByCitation = async (citation: string, court: string): Promise => { let applicableDatabases = [] + Logger.log(`EU getCaseByCitation`, citation, court) applicableDatabases = court === `EPO` ? [ databaseUseEPO(() => EPO.getCaseByCitation(citation)), ] : [ @@ -44,7 +45,7 @@ const getCaseByCitation = async (citation: string, court: string): Promise status === `fulfilled`) .flatMap(({ value }: PromiseFulfilledResult) => value) - .filter(({ jurisdiction }) => jurisdiction === Constants.JURISDICTIONS.SG.id) + .filter(({ jurisdiction }) => jurisdiction === Constants.JURISDICTIONS.EU.id) return sortEUCitations( Helpers.uniqueBy(results, `citation`),