mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Add shows in episode watch status change events
This commit is contained in:
parent
1e8316e16d
commit
fe9aa865f9
@ -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,
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user