Skip to content

Commit

Permalink
Merge pull request #53 from alex-dorokhov/fix-phone-validation
Browse files Browse the repository at this point in the history
Fix phone validation in receipt
  • Loading branch information
fedorkorotkov authored May 26, 2023
2 parents 8e73f23 + 4630f5f commit 17f6827
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class Receipt extends BaseRequest {

assert(email != null || phone != null);
email.validateEmail(JsonKeys.email);
phone.validateEmail(JsonKeys.phone);
phone.validatePhone(JsonKeys.phone);
}

/// Электронная почта покупателя
Expand Down

0 comments on commit 17f6827

Please sign in to comment.