Extra name checks removed as merchants can use company name here

This commit is contained in:
Andrey Shabarshov 2022-04-18 16:03:03 +01:00
parent 5597fff1ab
commit 34c96c8a94

View File

@ -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");
}