From aab58ec4a30d57479513fb7a42e041975162edb1 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Fri, 14 Apr 2023 12:24:45 +0530 Subject: [PATCH] chore: remove unnecessary middleware from public api Signed-off-by: Pranav C --- .../src/modules/public-datas/public-datas.controller.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/nocodb-nest/src/modules/public-datas/public-datas.controller.ts b/packages/nocodb-nest/src/modules/public-datas/public-datas.controller.ts index 8c5292dedb..d581fb86b9 100644 --- a/packages/nocodb-nest/src/modules/public-datas/public-datas.controller.ts +++ b/packages/nocodb-nest/src/modules/public-datas/public-datas.controller.ts @@ -10,7 +10,6 @@ import { import { AnyFilesInterceptor } from '@nestjs/platform-express'; import multer from 'multer'; import { NC_ATTACHMENT_FIELD_SIZE } from '../../constants'; -import { UploadAllowedInterceptor } from '../../interceptors/is-upload-allowed/is-upload-allowed.interceptor'; import { PublicDatasService } from './public-datas.service'; @Controller() @@ -60,7 +59,6 @@ export class PublicDatasController { @Post('/api/v1/db/public/shared-view/:sharedViewUuid/rows') @HttpCode(200) @UseInterceptors( - UploadAllowedInterceptor, AnyFilesInterceptor({ storage: multer.diskStorage({}), limits: {