diff --git a/src/routes/user/dto/profile_response.dto.ts b/src/routes/user/dto/profile_response.dto.ts index 346c757..4ae9d65 100644 --- a/src/routes/user/dto/profile_response.dto.ts +++ b/src/routes/user/dto/profile_response.dto.ts @@ -12,10 +12,10 @@ export class ProfileResponseDto { role: RoleType; @ApiProperty() - prenom: string; + prenom?: string; @ApiProperty() - nom: string; + nom?: string; @ApiProperty({ enum: StatutUtilisateurType }) statut: StatutUtilisateurType;