fix(backend): import fixes
This commit is contained in:
parent
526451e127
commit
b248d98928
12 changed files with 91 additions and 267 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue