From 8818535e385fbbdf21497fde634acbb5bd28505b Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 30 May 2023 16:56:07 +0530 Subject: [PATCH] fix: typo correction - use the right method Signed-off-by: Pranav C --- packages/nocodb/src/services/data-table.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/services/data-table.service.ts b/packages/nocodb/src/services/data-table.service.ts index ad68fef149..f68f47fd9b 100644 --- a/packages/nocodb/src/services/data-table.service.ts +++ b/packages/nocodb/src/services/data-table.service.ts @@ -116,7 +116,7 @@ export class DataTableService { dbDriver: await NcConnectionMgrv2.get(base), }); - await baseModel.bulkUpdate( + await baseModel.bulkDelete( Array.isArray(param.body) ? param.body : [param.body], { cookie: param.cookie, throwExceptionIfNotExist: true }, );