fix Syncher whitespace

This commit is contained in:
Mikhail Kuznetsov
2023-06-20 13:51:00 +10:00
parent 9c19e2fb91
commit 37390fa1c8
3 changed files with 4 additions and 5 deletions

View File

@@ -332,7 +332,7 @@ namespace PARR.AIHIT
private async Task<Application?> CreateAppIfNotExistAsync(string appName, ApplicationTypesEnum type)//Application application)
{
if (string.IsNullOrEmpty(appName)) return null;
if (string.IsNullOrEmpty(appName) || string.IsNullOrWhiteSpace(appName)) return null;
var existApp = await appService.GetByNameAsync(appName);
if (existApp != null)