From 1afd17cae5f14d939e890c9992b6956b3c5a3492 Mon Sep 17 00:00:00 2001 From: gchauhan-aot <113390759+gchauhan-aot@users.noreply.github.com> Date: Tue, 20 Aug 2024 10:02:49 -0600 Subject: [PATCH] Adding feature flag for special auth (#1543) --- vehicles/src/modules/special-auth/special-auth.controller.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vehicles/src/modules/special-auth/special-auth.controller.ts b/vehicles/src/modules/special-auth/special-auth.controller.ts index 254490628..7cf5dfe49 100644 --- a/vehicles/src/modules/special-auth/special-auth.controller.ts +++ b/vehicles/src/modules/special-auth/special-auth.controller.ts @@ -19,9 +19,11 @@ import { CreateLcvDto } from './dto/request/create-lcv.dto'; import { CreateNoFeeDto } from './dto/request/create-no-fee.dto'; import { Roles } from 'src/common/decorator/roles.decorator'; import { Role } from 'src/common/enum/roles.enum'; +import { IsFeatureFlagEnabled } from 'src/common/decorator/is-feature-flag-enabled.decorator'; @ApiBearerAuth() @ApiTags('Special Authorization') +@IsFeatureFlagEnabled('LOA') @Controller('companies/:companyId/special-auths') @ApiMethodNotAllowedResponse({ description: 'The Special Authorizaion Api Method Not Allowed Response',