mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-15 18:08:53 -07:00
Apply suggestions from code review
Co-authored-by: Cody Robibero <cody@robibe.ro>
This commit is contained in:
parent
05d98fe24c
commit
a0d13a2418
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user