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;