Browse Source

fix: typo correction - use the right method

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5901/head
Pranav C 2 years ago
parent
commit
8818535e38
  1. 2
      packages/nocodb/src/services/data-table.service.ts

2
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 },
);

Loading…
Cancel
Save