fixed bug where anilist would display a different users stats if show was not in watchlist

This commit is contained in:
2024-09-16 12:45:57 -04:00
parent 9f8014ff00
commit a24a187c7f
6 changed files with 39 additions and 9 deletions

View File

@ -38,7 +38,7 @@ export function MyAnimeListLogin():Promise<void>;
export function MyAnimeListUpdate(arg1:main.MALAnime,arg2:main.MALUploadStatus):Promise<main.MalListStatus>;
export function SimklGetUserWatchlist():Promise<main.SimklWatchList>;
export function SimklGetUserWatchlist():Promise<main.SimklWatchListType>;
export function SimklLogin():Promise<void>;

View File

@ -505,11 +505,11 @@ export namespace main {
this.connections = source["connections"];
}
}
export class SimklWatchList {
export class SimklWatchListType {
anime: anime;
static createFrom(source: any = {}) {
return new SimklWatchList(source);
return new SimklWatchListType(source);
}
constructor(source: any = {}) {