From 411743769ae592b407a379a404500eb8c31c3a73 Mon Sep 17 00:00:00 2001 From: Ashhhleyyy Date: Tue, 20 Sep 2022 18:29:39 +0100 Subject: [PATCH] fix(local): actually await this promise --- src/provider/local.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`;