From ecfd0d3a2465bf11ab7cab00521aaa6c372b7a52 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 12 Apr 2023 16:17:07 +0530 Subject: [PATCH] fix: response status to 200 Signed-off-by: Pranav C --- .../datas/data-alias-nested/data-alias-nested.controller.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/nocodb-nest/src/modules/datas/data-alias-nested/data-alias-nested.controller.ts b/packages/nocodb-nest/src/modules/datas/data-alias-nested/data-alias-nested.controller.ts index 5e80ac44e7..905ef486a2 100644 --- a/packages/nocodb-nest/src/modules/datas/data-alias-nested/data-alias-nested.controller.ts +++ b/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,