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),
|
GetPlaybackNotificationType(eventArgs.MediaInfo.MediaType),
|
||||||
user.Id)
|
user.Id)
|
||||||
{
|
{
|
||||||
ItemId = eventArgs.Item?.Id.ToString()
|
ItemId = eventArgs.Item?.Id.ToString("N", CultureInfo.InvariantCulture),
|
||||||
})
|
})
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
|
@ -75,7 +75,7 @@ namespace Jellyfin.Server.Implementations.Events.Consumers.Session
|
||||||
notificationType,
|
notificationType,
|
||||||
user.Id)
|
user.Id)
|
||||||
{
|
{
|
||||||
ItemId = eventArgs.Item?.Id.ToString()
|
ItemId = eventArgs.Item?.Id.ToString("N", CultureInfo.InvariantCulture),
|
||||||
})
|
})
|
||||||
.ConfigureAwait(false);
|
.ConfigureAwait(false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user