forked from Ynov/ptitspas-ynov-back
enfants controller corrected
This commit is contained in:
parent
5626ff10f3
commit
28c7aa54bb
@ -12,7 +12,7 @@ import { AuthGuard } from 'src/common/guards/auth.guard';
|
|||||||
|
|
||||||
@ApiBearerAuth()
|
@ApiBearerAuth()
|
||||||
@ApiTags('Enfants')
|
@ApiTags('Enfants')
|
||||||
@UseGuards(RolesGuard)
|
@UseGuards(AuthGuard,RolesGuard)
|
||||||
@Controller('enfants')
|
@Controller('enfants')
|
||||||
export class EnfantsController {
|
export class EnfantsController {
|
||||||
constructor(private readonly enfantsService: EnfantsService) { }
|
constructor(private readonly enfantsService: EnfantsService) { }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user