diff --git a/src/provider/local.ts b/src/provider/local.ts index 57d2ccf..cda9073 100644 --- a/src/provider/local.ts +++ b/src/provider/local.ts @@ -57,7 +57,7 @@ const localProvider: LocalProvider = { }, async downloadComicData(providerKey, comicId, statusCallback) { const provider = COMIC_PROVIDERS[providerKey]; - const info = provider.getComicInfo(comicId); + const info = await provider.getComicInfo(comicId); if (info === null) return null; const comicPath = `comics/${providerKey}/${comicId}`;