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

Loading…
Cancel
Save