From cb539e4d01f4d7da4acbae793d5777b11ce0d7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D5=A1=C9=A8=D5=BC=C9=A2=D3=84=D5=A1=D6=85=D5=BC=C9=A2?= Date: Sun, 22 Oct 2023 23:15:23 +0800 Subject: [PATCH] chore(nocodb): lint --- packages/nocodb/src/controllers/data-table.controller.ts | 6 ++++-- packages/nocodb/src/services/data-table.service.ts | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) 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);