Files
dezky/services/platform-api
Ronni Baslund be273ea5f4 fix(partners): allow empty-string email fields on partial updates
@IsOptional() only skips validation for null/undefined; an empty string
still trips @IsEmail(). When the operator UI saves billingInfo with a
blank contactEmail, the request 400'd with 'must be an email'. Coerce
'' → undefined on every @IsEmail-decorated field via a shared
@Transform so blank inputs round-trip cleanly.
2026-05-24 22:23:27 +02:00
..