Apply suggestions from code review

Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
Shadowghost 2023-06-10 18:06:22 +02:00 committed by Shadowghost
parent 05d98fe24c
commit a0d13a2418
2 changed files with 2 additions and 2 deletions

View File

@ -67,7 +67,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
GetPlaybackNotificationType(eventArgs.MediaInfo.MediaType),
user.Id)
{
ItemId = eventArgs.Item?.Id.ToString()
ItemId = eventArgs.Item?.Id.ToString("N", CultureInfo.InvariantCulture),
})
.ConfigureAwait(false);
}

View File

@ -75,7 +75,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
notificationType,
user.Id)
{
ItemId = eventArgs.Item?.Id.ToString()
ItemId = eventArgs.Item?.Id.ToString("N", CultureInfo.InvariantCulture),
})
.ConfigureAwait(false);
}