diff --git a/src/routes/user/dto/create_gestionnaire.dto.ts b/src/routes/user/dto/create_gestionnaire.dto.ts index e69de29..fceea23 100644 --- a/src/routes/user/dto/create_gestionnaire.dto.ts +++ b/src/routes/user/dto/create_gestionnaire.dto.ts @@ -0,0 +1,4 @@ +import { OmitType } from "@nestjs/swagger"; +import { CreateUserDto } from "./create_user.dto"; + +export class CreateGestionnaireDto extends OmitType(CreateUserDto, ['role'] as const) {}