fix 3
This commit is contained in:
parent
af71715fd6
commit
3c03524bae
@ -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);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user