Update in progress

Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
2021-02-03 01:14:26 +01:00
parent 557dad7e33
commit 1e4a9ba9d1
27 changed files with 272 additions and 92 deletions

View File

@ -38,7 +38,7 @@ export default async () => {
const toSave: IllustratorSingle = {
id: db.indexOf(illustrator),
name: illustrator,
cards: list.map(el => cardToCardSimple(el, lang))
cards: await Promise.all(list.map(el => cardToCardSimple(el, lang)))
}
await fs.mkdir(`${endpoint}/${toSave.id}`, {recursive: true})