fix(local): actually await this promise
This commit is contained in:
parent
a97e82f546
commit
411743769a
1 changed files with 1 additions and 1 deletions
|
@ -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}`;
|
||||
|
|
Loading…
Reference in a new issue