From b9c32b7068d65fdac1aefdea05a63bc0032f5415 Mon Sep 17 00:00:00 2001 From: Sam Rose Date: Wed, 10 Jul 2024 09:14:15 +0100 Subject: [PATCH] Fix tests? --- packages/shared-core/src/filters.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/shared-core/src/filters.ts b/packages/shared-core/src/filters.ts index d4d5918bbb..8298f7929a 100644 --- a/packages/shared-core/src/filters.ts +++ b/packages/shared-core/src/filters.ts @@ -348,7 +348,7 @@ export function fixupFilterArrays(filters: SearchFilters) { if (typeof field[key] !== "string") { field[key] = [field[key]] } else { - field[key] = field[key].split(",").map(x => x.trim()) + field[key] = field[key].split(",").map((x: string) => x.trim()) } } }