Skip to content

Commit

Permalink
fix(correction12): remove required validator from customerContact
Browse files Browse the repository at this point in the history
  • Loading branch information
mashkovtsev committed Feb 24, 2022
1 parent 62dc391 commit e071129
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/validation/schemes.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ const correction12 = {
payments: [required, arrayOf(payment), maxPaymentsTotal(MAX_MONEY_AMOUNT)],
taxationSystem: [required, integer, oneOf([0, 1, 2, 3, 4, 5])],
})],
customerContact: [maxLength(64), or([email, phone]), required],
customerContact: [maxLength(64), or([email, phone])],
correctionType: [required, oneOf([0, 1])],
causeDocumentDate: [required, isIso8601],
causeDocumentNumber: [required, maxLength(32)],
Expand Down

0 comments on commit e071129

Please sign in to comment.