fix(api): заполнение данных о пользователе в кэше

This commit is contained in:
Mikhail Trubnikov
2023-12-05 11:49:00 +10:00
parent 74d91a0315
commit 7fb1804366

View File

@@ -74,7 +74,7 @@ namespace PARR.API.Services.Implementations
if (user != null)
{
cacheData.Name = user.Name + host != null ? $", {host!.Ek}" : string.Empty;
cacheData.Name = user.Name + (host != null ? $", {host.Ek}" : string.Empty);
cacheData.Description = user.Description ?? string.Empty;
}