This commit is contained in:
Kallesh B S 2025-09-26 09:28:36 +05:30
parent af71715fd6
commit 3c03524bae

View File

@ -7,8 +7,8 @@ import { JwtAuthGuard } from 'src/guards/jwt-auth.guard';
import { RolesGuard } from 'src/guards/roles.guard'; import { RolesGuard } from 'src/guards/roles.guard';
@ApiTags('Manage Clients - PG') @ApiTags('Manage Clients - PG')
@UseGuards(JwtAuthGuard, RolesGuard) // @UseGuards(JwtAuthGuard, RolesGuard)
@Roles('psa') // @Roles('psa')
@Controller('2') @Controller('2')
export class ManageClientsController { export class ManageClientsController {
constructor(private readonly manageClientsService: ManageClientsService) { } constructor(private readonly manageClientsService: ManageClientsService) { }
@ -57,7 +57,7 @@ export class ManageClientsController {
} }
@Post('CreateClientLocations') @Post('CreateClientLocations')
@Roles('pca', 'psa') // @Roles('pca', 'psa')
CreateClientLocation(@Body() body: CreateClientLocationsDTO) { CreateClientLocation(@Body() body: CreateClientLocationsDTO) {
return this.manageClientsService.CreateClientLocation(body); return this.manageClientsService.CreateClientLocation(body);
} }