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';
@ApiTags('Manage Clients - PG')
@UseGuards(JwtAuthGuard, RolesGuard)
@Roles('psa')
// @UseGuards(JwtAuthGuard, RolesGuard)
// @Roles('psa')
@Controller('2')
export class ManageClientsController {
constructor(private readonly manageClientsService: ManageClientsService) { }
@ -57,7 +57,7 @@ export class ManageClientsController {
}
@Post('CreateClientLocations')
@Roles('pca', 'psa')
// @Roles('pca', 'psa')
CreateClientLocation(@Body() body: CreateClientLocationsDTO) {
return this.manageClientsService.CreateClientLocation(body);
}