Browse Source

fix: view column list api correction

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/5444/head
Pranav C 2 years ago
parent
commit
fd9637f9ec
  1. 5
      packages/nocodb-nest/src/modules/view-columns/view-columns.controller.ts

5
packages/nocodb-nest/src/modules/view-columns/view-columns.controller.ts

@ -24,8 +24,9 @@ export class ViewColumnsController {
@Get('/api/v1/db/meta/views/:viewId/columns/') @Get('/api/v1/db/meta/views/:viewId/columns/')
@Acl('columnList') @Acl('columnList')
async columnList(@Param('viewId') viewId: string) { async columnList(@Param('viewId') viewId: string) {
return; return new PagedResponseImpl(
new PagedResponseImpl(await this.viewColumnsService.columnList({ viewId })); await this.viewColumnsService.columnList({ viewId }),
);
} }
@Post('/api/v1/db/meta/views/:viewId/columns/') @Post('/api/v1/db/meta/views/:viewId/columns/')

Loading…
Cancel
Save