Fix GetMangaByIds (change request string to "mangaIds")

This commit is contained in:
glax 2024-10-20 02:08:44 +02:00
parent c1d333e002
commit 004f96194f

View File

@ -38,7 +38,7 @@ export class Manga
static async GetMangaByIds(internalIds: string[]): Promise<IManga[]> {
console.debug(`Getting Mangas ${internalIds.join(",")}`);
return await getData(`http://127.0.0.1:6531/v2/Manga?internalIds=${internalIds.join(",")}`)
return await getData(`http://127.0.0.1:6531/v2/Manga?mangaIds=${internalIds.join(",")}`)
.then((json) => {
console.debug(`Got Manga ${internalIds.join(",")}`);
const ret = json as IManga[];