🅿️ Paginating covers response

This commit is contained in:
2021-05-03 22:35:00 -07:00
parent a4f9c82847
commit 436bbc56a1
6 changed files with 39 additions and 9 deletions

View File

@@ -63,12 +63,12 @@ export const unrar = async (
paths.targetPath + "/" + fileName,
fileArrayBuffer,
);
resolve({
name: `${fileName}`,
path: paths.targetPath,
fileSize: fileHeader.packSize,
});
}
resolve({
name: `${fileHeader.name}`,
path: paths.targetPath,
fileSize: fileHeader.packSize,
});
});
} catch (error) {
logger.error(`${error}: Couldn't write file.`);