mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 00:24:54 +00:00
fix: fix controller name
This commit is contained in:
@ -115,7 +115,7 @@ export class JuniorController {
|
|||||||
@UseGuards(RolesGuard)
|
@UseGuards(RolesGuard)
|
||||||
@AllowedRoles(Roles.GUARDIAN)
|
@AllowedRoles(Roles.GUARDIAN)
|
||||||
@ApiDataResponse(TransferToJuniorResponseDto)
|
@ApiDataResponse(TransferToJuniorResponseDto)
|
||||||
async doesJuniorBelongToGuardian(
|
async transferToJunior(
|
||||||
@AuthenticatedUser() user: IJwtPayload,
|
@AuthenticatedUser() user: IJwtPayload,
|
||||||
@Param('juniorId', CustomParseUUIDPipe) juniorId: string,
|
@Param('juniorId', CustomParseUUIDPipe) juniorId: string,
|
||||||
@Body() body: TransferToJuniorRequestDto,
|
@Body() body: TransferToJuniorRequestDto,
|
||||||
|
|||||||
Reference in New Issue
Block a user