add todo
This commit is contained in:
parent
aa692f6978
commit
1afe36a525
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user