This commit is contained in:
2025-02-10 19:53:47 -05:00
parent c10c3a0beb
commit edf76708b3
3 changed files with 6 additions and 8 deletions

View File

@@ -94,6 +94,7 @@ class BoxService:
num_cards_expected=create_box_data.num_cards_expected
)
self.db.add(product)
self.db.flush()
self.db.add(box)
return box, True