From 723b20a9b839d5e9ee5324b2401e708ed274a7d8 Mon Sep 17 00:00:00 2001 From: da3dsoul Date: Sun, 20 Oct 2024 08:27:19 -0400 Subject: [PATCH] Fix Queue Serialization error. QueueItem Details must be a serializable type --- .../Scheduling/Jobs/Trakt/SyncTraktEpisodeHistoryJob.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shoko.Server/Scheduling/Jobs/Trakt/SyncTraktEpisodeHistoryJob.cs b/Shoko.Server/Scheduling/Jobs/Trakt/SyncTraktEpisodeHistoryJob.cs index d9abdf3b4..4abf06dc4 100644 --- a/Shoko.Server/Scheduling/Jobs/Trakt/SyncTraktEpisodeHistoryJob.cs +++ b/Shoko.Server/Scheduling/Jobs/Trakt/SyncTraktEpisodeHistoryJob.cs @@ -38,7 +38,7 @@ public override void PostInit() { "EpisodeID", AnimeEpisodeID } } : new() { - { "Anime", RepoFactory.AniDB_Anime.GetByAnimeID(_episode.AnimeID) }, + { "Anime", RepoFactory.AniDB_Anime.GetByAnimeID(_episode.AnimeID)?.PreferredTitle }, { "Episode Type", ((EpisodeType)_episode.EpisodeType).ToString() }, { "Episode Number", _episode.EpisodeNumber }, { "Sync Action", Action.ToString() }