From 5c2ecaf8fc6c6b94a647b6f6caf6a0d12223df73 Mon Sep 17 00:00:00 2001 From: Mohamed Marrouchi Date: Wed, 4 Jun 2025 18:17:17 +0100 Subject: [PATCH] fix: remove public role --- api/src/nlp/controllers/nlp-sample.controller.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/api/src/nlp/controllers/nlp-sample.controller.ts b/api/src/nlp/controllers/nlp-sample.controller.ts index a94de961..7caf121d 100644 --- a/api/src/nlp/controllers/nlp-sample.controller.ts +++ b/api/src/nlp/controllers/nlp-sample.controller.ts @@ -36,7 +36,6 @@ import { HelperService } from '@/helper/helper.service'; import { HelperType } from '@/helper/types'; import { LanguageService } from '@/i18n/services/language.service'; import { CsrfInterceptor } from '@/interceptors/csrf.interceptor'; -import { Roles } from '@/utils/decorators/roles.decorator'; import { BaseController } from '@/utils/generics/base-controller'; import { DeleteResult } from '@/utils/generics/base-repository'; import { PageQueryDto } from '@/utils/pagination/pagination-query.dto'; @@ -181,7 +180,6 @@ export class NlpSampleController extends BaseController< * * @returns The count of samples that match the filters. */ - @Roles('public') @Get('count') async filterCount( @Query( @@ -291,7 +289,6 @@ export class NlpSampleController extends BaseController< * @returns A paginated list of NLP samples. */ @Get() - @Roles('public') async findPage( @Query(PageQueryPipe) pageQuery: PageQueryDto, @Query(PopulatePipe) populate: string[],