From 34c96c8a949d00274d3020323c73cd9cdde24b57 Mon Sep 17 00:00:00 2001 From: Andrey Shabarshov Date: Mon, 18 Apr 2022 16:03:03 +0100 Subject: [PATCH] Extra name checks removed as merchants can use company name here --- QRBeeApi/Services/QRBeeAPIService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QRBeeApi/Services/QRBeeAPIService.cs b/QRBeeApi/Services/QRBeeAPIService.cs index 43f6d71..1b05918 100644 --- a/QRBeeApi/Services/QRBeeAPIService.cs +++ b/QRBeeApi/Services/QRBeeAPIService.cs @@ -90,7 +90,7 @@ namespace QRBee.Api.Services var dateOfBirth = request.DateOfBirth; var certificateRequest = request.CertificateRequest; - if (string.IsNullOrEmpty(name) || name.All(char.IsLetter) == false || name.Length >= MaxNameLength) + if (string.IsNullOrEmpty(name) || name.Length >= MaxNameLength) { throw new ApplicationException($"Name \"{name}\" isn't valid"); }