Fix BaseWorker unnecessary nesting of Tasks
Some checks failed
Docker Image CI / build (push) Has been cancelled

Fix MangaDex Oneshots have no Chapternumber
This commit is contained in:
2025-09-08 18:52:41 +02:00
parent 1360b7afc5
commit 7f9bea00a4
2 changed files with 7 additions and 8 deletions

View File

@@ -324,7 +324,7 @@ public class MangaDex : MangaConnector
{
string? id = jToken.Value<string>("id");
JToken? attributes = jToken["attributes"];
string? chapterStr = attributes?.Value<string>("chapter");
string? chapterStr = attributes?.Value<string>("chapter") ?? "0";
string? volumeStr = attributes?.Value<string>("volume");
int? volumeNumber = null;
string? title = attributes?.Value<string>("title");