diff --git a/packages/nocodb/src/services/data-table.service.ts b/packages/nocodb/src/services/data-table.service.ts index 020d3fa77f..9251af6004 100644 --- a/packages/nocodb/src/services/data-table.service.ts +++ b/packages/nocodb/src/services/data-table.service.ts @@ -192,7 +192,7 @@ export class DataTableService { return pkColumns.reduce((acc, col) => { acc[col.title] = row[col.title]; return acc; - }); + }, {}); }); return Array.isArray(body) ? result : result[0];