mirror of
https://github.com/NecroticBamboo/QRBee.git
synced 2025-12-21 12:11:53 +00:00
Extra name checks removed as merchants can use company name here
This commit is contained in:
parent
5597fff1ab
commit
34c96c8a94
@ -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");
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user