File tree Expand file tree Collapse file tree
packages/openops/src/lib/openops-tables Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,14 +257,16 @@ function getEqualityFilterType(
257257 return ViewFilterTypesEnum . equal ;
258258}
259259
260- export async function batchDeleteRows ( params : BatchDeleteRowsParams ) {
260+ export async function batchDeleteRows (
261+ params : BatchDeleteRowsParams ,
262+ ) : Promise < void > {
261263 if ( params . rowIds . length === 0 ) {
262264 return ;
263265 }
264266
265267 const url = `api/database/rows/table/${ params . tableId } /batch-delete/` ;
266268
267- return executeWithConcurrencyLimit (
269+ await executeWithConcurrencyLimit (
268270 async ( ) => {
269271 const authenticationHeader = createAxiosHeaders ( params . tokenOrResolver ) ;
270272 return await makeOpenOpsTablesPost (
@@ -277,7 +279,8 @@ export async function batchDeleteRows(params: BatchDeleteRowsParams) {
277279 logger . error ( 'Error while batch deleting rows:' , {
278280 error,
279281 url,
280- rowIds : params . rowIds ,
282+ rowIdsCount : params . rowIds . length ,
283+ rowIdsSample : params . rowIds . slice ( 0 , 10 ) ,
281284 } ) ;
282285 } ,
283286 ) ;
You can’t perform that action at this time.
0 commit comments