Skip to content

Commit

Permalink
Make MaxLength validate for alternateContact otherType prop equal to …
Browse files Browse the repository at this point in the history
…64 instead of 16 (#1057)
  • Loading branch information
pbn4 authored Mar 8, 2021
1 parent 10a18fc commit 50f98f3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class AlternateContact extends AbstractEntity {
@Expose()
@IsOptional({ groups: [ValidationsGroupsEnum.default] })
@IsString({ groups: [ValidationsGroupsEnum.default] })
@MaxLength(16, { groups: [ValidationsGroupsEnum.default] })
@MaxLength(64, { groups: [ValidationsGroupsEnum.default] })
otherType?: string | null

@Column({ type: "text", nullable: true })
Expand Down

0 comments on commit 50f98f3

Please sign in to comment.