diff --git a/packages/server/src/utilities/rowProcessor/utils.ts b/packages/server/src/utilities/rowProcessor/utils.ts index 8d4af29a6b..9eb725dd7c 100644 --- a/packages/server/src/utilities/rowProcessor/utils.ts +++ b/packages/server/src/utilities/rowProcessor/utils.ts @@ -49,7 +49,7 @@ export function processFormulas( table: Table, inputRows: T, { dynamic, contextRows }: FormulaOpts = { dynamic: true } -): Promise { +): T { const rows = Array.isArray(inputRows) ? inputRows : [inputRows] if (rows) for (let [column, schema] of Object.entries(table.schema)) {