diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-07-29 22:01:58 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-29 22:01:58 +0200 |
| commit | 57f95bdc32aa77e32c5ddf35932ea7e319c5afcd (patch) | |
| tree | e0a4d4b104eaaac2831333d2e6981a93f598f2e4 /Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs | |
| parent | eeb8c59ff27307b5edd8e056a9ef7d451dbddd04 (diff) | |
| parent | d3f0346f0498538ae3c0f34e4d17a6e1d044b4f8 (diff) | |
Merge pull request #11390 from Bond-009/UserItemData
Enable nullable for UserItemData
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs')
| -rw-r--r-- | Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs index 957ad9c01..47f9dfbc8 100644 --- a/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs +++ b/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs @@ -1,6 +1,5 @@ using System; using System.Collections.Generic; -using System.Globalization; using System.Linq; using System.Threading; using System.Threading.Tasks; @@ -138,13 +137,13 @@ namespace Emby.Server.Implementations.EntryPoints return new UserDataChangeInfo { - UserId = userId.ToString("N", CultureInfo.InvariantCulture), + UserId = userId, UserDataList = changedItems .DistinctBy(x => x.Id) .Select(i => { var dto = _userDataManager.GetUserDataDto(i, user); - dto.ItemId = i.Id.ToString("N", CultureInfo.InvariantCulture); + dto.ItemId = i.Id; return dto; }) .ToArray() |
