From f670b75e13b6973b27035bd2a9c88057337c8060 Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 26 Apr 2024 15:53:16 +0100 Subject: [PATCH] Adding bulk import type. --- packages/server/src/api/controllers/table/utils.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/server/src/api/controllers/table/utils.ts b/packages/server/src/api/controllers/table/utils.ts index f496c686f3..8eac30e4df 100644 --- a/packages/server/src/api/controllers/table/utils.ts +++ b/packages/server/src/api/controllers/table/utils.ts @@ -128,6 +128,7 @@ export async function importToRows( for (let i = 0; i < data.length; i++) { let row = data[i] row._id = generateRowID(table._id!) + row.type = "row" row.tableId = table._id // We use a reference to table here and update it after input processing,