From d4786d24eb2a7bfc22895c02dc591d5da1aa23d3 Mon Sep 17 00:00:00 2001 From: Alperen Elhan Date: Sun, 27 Nov 2022 00:19:51 +0300 Subject: [PATCH] fix: use unpaged param for komga series --- src/server/utils/integration/komga.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/utils/integration/komga.ts b/src/server/utils/integration/komga.ts index b1f3618..47174f6 100644 --- a/src/server/utils/integration/komga.ts +++ b/src/server/utils/integration/komga.ts @@ -54,7 +54,7 @@ export const refreshMetadata = async (mangaName: string) => { const headers = { Authorization: `Basic ${Buffer.from(`${settings.komgaUser}:${settings.komgaPassword}`).toString('base64')}`, }; - const komgaSeriesUrl = new URL('/api/v1/series?size=1000', baseKomgaUrl).href; + const komgaSeriesUrl = new URL('/api/v1/series?unpaged=true', baseKomgaUrl).href; const series: Series = await ( await fetch(komgaSeriesUrl, {