diff --git a/packages/nocodb/src/controllers/data-table.controller.ts b/packages/nocodb/src/controllers/data-table.controller.ts index 507e14d6e8..9a4e16d0f8 100644 --- a/packages/nocodb/src/controllers/data-table.controller.ts +++ b/packages/nocodb/src/controllers/data-table.controller.ts @@ -151,7 +151,8 @@ export class DataTableController { @Query('viewId') viewId: string, @Param('columnId') columnId: string, @Param('rowId') rowId: string, - @Body() refRowIds: string | string[] | number | number[] | Record, + @Body() + refRowIds: string | string[] | number | number[] | Record, ) { return await this.dataTableService.nestedLink({ modelId, @@ -172,7 +173,8 @@ export class DataTableController { @Query('viewId') viewId: string, @Param('columnId') columnId: string, @Param('rowId') rowId: string, - @Body() refRowIds: string | string[] | number | number[] | Record, + @Body() + refRowIds: string | string[] | number | number[] | Record, ) { return await this.dataTableService.nestedUnlink({ modelId, diff --git a/packages/nocodb/src/services/data-table.service.ts b/packages/nocodb/src/services/data-table.service.ts index acdbba46b5..bc7e952269 100644 --- a/packages/nocodb/src/services/data-table.service.ts +++ b/packages/nocodb/src/services/data-table.service.ts @@ -368,7 +368,7 @@ export class DataTableService { modelId: string; columnId: string; query: any; - refRowIds: string | string[] | number | number[]| Record; + refRowIds: string | string[] | number | number[] | Record; rowId: string; }) { this.validateIds(param.refRowIds); @@ -403,7 +403,7 @@ export class DataTableService { modelId: string; columnId: string; query: any; - refRowIds: string | string[] | number | number[]| Record; + refRowIds: string | string[] | number | number[] | Record; rowId: string; }) { this.validateIds(param.refRowIds);