From 6f51843875207e021b0c1a17e40bb71e2d370d3b Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Fri, 2 Jun 2023 16:22:07 +0100 Subject: [PATCH] Fix TS issue --- packages/server/src/utilities/rowProcessor/index.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/server/src/utilities/rowProcessor/index.ts b/packages/server/src/utilities/rowProcessor/index.ts index 44cab4d18b..4b6e0f6e87 100644 --- a/packages/server/src/utilities/rowProcessor/index.ts +++ b/packages/server/src/utilities/rowProcessor/index.ts @@ -216,7 +216,10 @@ export async function outputProcessing( } } if (opts.squash) { - enriched = await linkRows.squashLinksToPrimaryDisplay(table, enriched) + enriched = (await linkRows.squashLinksToPrimaryDisplay( + table, + enriched + )) as Row[] } return wasArray ? enriched : enriched[0] }