fix(local): actually await this promise

This commit is contained in:
Ashhhleyyy 2022-09-20 18:29:39 +01:00
parent a97e82f546
commit 411743769a
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -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}`;