Skip to content

Commit

Permalink
Adding feature flag for special auth (#1543)
Browse files Browse the repository at this point in the history
  • Loading branch information
gchauhan-aot authored Aug 20, 2024
1 parent b4be18a commit 1afd17c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vehicles/src/modules/special-auth/special-auth.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 1afd17c

Please sign in to comment.