mirror of
https://github.com/tcgdex/compiler.git
synced 2025-07-30 07:59:50 +00:00
Update in progress
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
@ -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})
|
||||
|
Reference in New Issue
Block a user