From b9c1aa05b078367f9acfbfbfabfe2dedeaaa7f83 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Tue, 6 Aug 2024 09:10:41 +0200 Subject: [PATCH] Add todo for types --- packages/server/src/automations/steps/queryRows.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/server/src/automations/steps/queryRows.ts b/packages/server/src/automations/steps/queryRows.ts index 172bbf7f55..abcbd4e359 100644 --- a/packages/server/src/automations/steps/queryRows.ts +++ b/packages/server/src/automations/steps/queryRows.ts @@ -114,10 +114,12 @@ function typeCoercion(filters: SearchFilters, table: Table) { } if (column.type === FieldType.NUMBER) { if (key === "oneOf") { + // @ts-ignore TODO searchParam[property] = value .split(",") .map(item => parseFloat(item)) } else { + // @ts-ignore TODO searchParam[property] = parseFloat(value) } }