Fix UpdateProfessionalDto: add identification_picture and certificate_picture

These fields were missing from the DTO so NestJS/class-validator was stripping
them from PATCH /professionals/me requests before they reached Prisma.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-29 10:41:27 -05:00
co-authored by Claude Sonnet 4.6
parent aa35f4b661
commit 66bc47b6e1
@@ -57,6 +57,14 @@ export class UpdateProfessionalDto {
@IsNumber()
rate?: number;
@IsOptional()
@IsString()
identification_picture?: string;
@IsOptional()
@IsString()
certificate_picture?: string;
@IsOptional()
@IsString()
banner_picture?: string;