Browse Source

fix: response status to 200

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

5
packages/nocodb-nest/src/modules/datas/data-alias-nested/data-alias-nested.controller.ts

@ -1,12 +1,12 @@
import {
Controller,
Delete,
Get,
Get, HttpCode,
Param,
Post,
Request,
UseGuards,
} from '@nestjs/common';
} from '@nestjs/common'
import { AuthGuard } from '@nestjs/passport';
import {
Acl,
@ -148,6 +148,7 @@ export class DataAliasNestedController {
'/api/v1/db/data/:orgs/:projectName/:tableName/:rowId/:relationType/:columnName/:refRowId',
)
@Acl('relationDataAdd')
@HttpCode(200)
async relationDataAdd(
@Request() req,
@Param('columnName') columnName: string,

Loading…
Cancel
Save