aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2024-04-20 16:43:25 +0200
committerBond_009 <bond.009@outlook.com>2024-07-29 21:05:23 +0200
commitd3f0346f0498538ae3c0f34e4d17a6e1d044b4f8 (patch)
treee0a4d4b104eaaac2831333d2e6981a93f598f2e4 /Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs
parenteeb8c59ff27307b5edd8e056a9ef7d451dbddd04 (diff)
Enable nullable for UserItemData
MetadataResult.GetOrAddUserData doesn't ever get used and is probably broken since the migration to .NET Core as it still expects a Guid for userId
Diffstat (limited to 'Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs')
-rw-r--r--Emby.Server.Implementations/EntryPoints/UserDataChangeNotifier.cs5
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()