mirror of
https://github.com/C9Glax/tranga-website.git
synced 2025-06-13 15:27:53 +02:00
Fix GetMangaByIds (change request string to "mangaIds")
This commit is contained in:
@ -38,7 +38,7 @@ export class Manga
|
|||||||
|
|
||||||
static async GetMangaByIds(internalIds: string[]): Promise<IManga[]> {
|
static async GetMangaByIds(internalIds: string[]): Promise<IManga[]> {
|
||||||
console.debug(`Getting Mangas ${internalIds.join(",")}`);
|
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) => {
|
.then((json) => {
|
||||||
console.debug(`Got Manga ${internalIds.join(",")}`);
|
console.debug(`Got Manga ${internalIds.join(",")}`);
|
||||||
const ret = json as IManga[];
|
const ret = json as IManga[];
|
||||||
|
Reference in New Issue
Block a user