1
0
Fork 0

fix(backend): import fixes

This commit is contained in:
joostdecock 2023-08-13 16:15:06 +02:00
parent 526451e127
commit b248d98928
12 changed files with 91 additions and 267 deletions

View file

@ -158,8 +158,6 @@ sets.push(
)
)
importSets(sets)
async function createSet(data) {
try {
await prisma.curatedSet.create({ data })
@ -174,3 +172,7 @@ async function importSets(sets) {
await createSet(set)
}
}
export async function importSizingTable() {
await importSets(sets)
}