cap client name for new flow
This commit is contained in:
parent
33c63f01db
commit
87985b3e68
@ -35,6 +35,8 @@ namespace SharedLibraryCore.Services
|
|||||||
|
|
||||||
public async Task<EFClient> Create(EFClient entity)
|
public async Task<EFClient> Create(EFClient entity)
|
||||||
{
|
{
|
||||||
|
entity.Name = entity.Name.CapClientName(EFAlias.MAX_NAME_LENGTH);
|
||||||
|
|
||||||
if (!_appConfig.EnableImplicitAccountLinking)
|
if (!_appConfig.EnableImplicitAccountLinking)
|
||||||
{
|
{
|
||||||
return await HandleNewCreate(entity);
|
return await HandleNewCreate(entity);
|
||||||
@ -45,7 +47,6 @@ namespace SharedLibraryCore.Services
|
|||||||
{
|
{
|
||||||
int? linkId = null;
|
int? linkId = null;
|
||||||
int? aliasId = null;
|
int? aliasId = null;
|
||||||
entity.Name = entity.Name.CapClientName(EFAlias.MAX_NAME_LENGTH);
|
|
||||||
|
|
||||||
if (entity.IPAddress != null)
|
if (entity.IPAddress != null)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user