Fix GetMangaByIds (change request string to "mangaIds")
This commit is contained in:
parent
c1d333e002
commit
004f96194f
@ -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[];
|
||||||
|
Loading…
Reference in New Issue
Block a user