diff --git a/src/Mangarr.Stack/Sources/Implementations/Madara/MadaraSourceBase.cs b/src/Mangarr.Stack/Sources/Implementations/Madara/MadaraSourceBase.cs index b279737..ce0049e 100644 --- a/src/Mangarr.Stack/Sources/Implementations/Madara/MadaraSourceBase.cs +++ b/src/Mangarr.Stack/Sources/Implementations/Madara/MadaraSourceBase.cs @@ -175,7 +175,7 @@ private DateTime GetPostDateOfChapter(IHtmlListItemElement element) } } - private async Task> GetPageContent(string url, CancellationToken ct) + private async Task> GetPageContent(string url, CancellationToken ct = default) { Result result; @@ -207,7 +207,7 @@ private async Task> GetPageContent(string url, CancellationToken return result; } - private async Task> GetChapterId(string url, CancellationToken ct) + private async Task> GetChapterId(string url, CancellationToken ct = default) { Result result = await GetHttpClient().Get(url, ct); diff --git a/src/Mangarr.Stack/Sources/Implementations/NepNep/NepNepSourceBase.cs b/src/Mangarr.Stack/Sources/Implementations/NepNep/NepNepSourceBase.cs index 6cf0b9f..d77bc70 100644 --- a/src/Mangarr.Stack/Sources/Implementations/NepNep/NepNepSourceBase.cs +++ b/src/Mangarr.Stack/Sources/Implementations/NepNep/NepNepSourceBase.cs @@ -32,7 +32,7 @@ CachingService cachingService protected override Task> Status() => Task.FromResult(Result.Ok("OK")); - private async Task> GetSearchHtml(CancellationToken ct) + private async Task> GetSearchHtml(CancellationToken ct = default) { string key = Id + "_search"; @@ -53,7 +53,7 @@ private async Task> GetSearchHtml(CancellationToken ct) return Result.Ok(result.Value); } - private async Task> GetMangaDataItems(CancellationToken ct) + private async Task> GetMangaDataItems(CancellationToken ct = default) { string key = Id + "_mangadataitems";