From a012287e19b1fddf1cae273cf9ede7ff91c5dc08 Mon Sep 17 00:00:00 2001 From: gitadmin Date: Wed, 5 Nov 2025 16:35:02 +0000 Subject: [PATCH] changed fax_no_dto and middle_initial_dto to required: false --- .../uscib-managed-sp/sp-contacts/sp-contacts-property.dto.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dto/uscib-managed-sp/sp-contacts/sp-contacts-property.dto.ts b/src/dto/uscib-managed-sp/sp-contacts/sp-contacts-property.dto.ts index f0ff011..a29340b 100644 --- a/src/dto/uscib-managed-sp/sp-contacts/sp-contacts-property.dto.ts +++ b/src/dto/uscib-managed-sp/sp-contacts/sp-contacts-property.dto.ts @@ -40,7 +40,7 @@ export class LASTNAME_DTO { } export class MIDDLE_INITIAL_DTO { - @ApiProperty({ required: true }) + @ApiProperty({ required: false }) @Length(0, 3, { message: 'Property P_MIDDLEINITIAL must be between 0 to 3 characters' }) @IsString({ message: 'Property P_MIDDLEINITIAL must be a string' }) P_MIDDLEINITIAL: string; @@ -70,7 +70,7 @@ export class MOBILE_NO_DTO { } export class FAX_NO_DTO { - @ApiProperty({ required: true }) + @ApiProperty({ required: false }) @Length(0, 20, { message: 'Property FAXNO must be between 0 to 20 characters' }) @IsString({ message: 'Property FAXNO must be a string' }) P_FAXNO: string;