2
0
This commit is contained in:
Glax 2024-02-02 18:46:09 +01:00
parent aa692f6978
commit 1afe36a525

View File

@ -40,7 +40,7 @@ public class JobJsonConverter : JsonConverter
{ {
DateTime lastExecution = jo.GetValue("lastExecution") is {} le DateTime lastExecution = jo.GetValue("lastExecution") is {} le
? le.ToObject<DateTime>() ? le.ToObject<DateTime>()
: DateTime.UnixEpoch; : DateTime.UnixEpoch; //TODO do null checks on all variables
return new DownloadNewChapters(this._clone, return new DownloadNewChapters(this._clone,
jo.GetValue("mangaConnector")!.ToObject<MangaConnector>(JsonSerializer.Create(new JsonSerializerSettings() jo.GetValue("mangaConnector")!.ToObject<MangaConnector>(JsonSerializer.Create(new JsonSerializerSettings()
{ {