Add shows in episode watch status change events

This commit is contained in:
Zoe Roux 2024-03-21 02:38:37 +01:00
parent 1e8316e16d
commit fe9aa865f9
No known key found for this signature in database

View File

@ -524,7 +524,7 @@ public class WatchStatusRepository(
new()
{
User = await users.Get(ret.UserId),
Resource = await episodes.Get(ret.EpisodeId),
Resource = await episodes.Get(episodeId, new(nameof(Episode.Show))),
Status = ret.Status,
WatchedTime = ret.WatchedTime,
WatchedPercent = ret.WatchedPercent,
@ -546,7 +546,7 @@ public class WatchStatusRepository(
new()
{
User = await users.Get(userId),
Resource = await episodes.Get(episodeId),
Resource = await episodes.Get(episodeId, new(nameof(Episode.Show))),
AddedDate = DateTime.UtcNow,
Status = WatchStatus.Deleted,
}