fixy
This commit is contained in:
@@ -86,6 +86,7 @@ class BoxService:
|
||||
type='box',
|
||||
product_line='mtg'
|
||||
)
|
||||
self.db.add(product)
|
||||
box = Box(
|
||||
product_id=product.id,
|
||||
type=create_box_data.type,
|
||||
@@ -93,7 +94,6 @@ class BoxService:
|
||||
sku=create_box_data.sku,
|
||||
num_cards_expected=create_box_data.num_cards_expected
|
||||
)
|
||||
self.db.add(product)
|
||||
self.db.add(box)
|
||||
|
||||
return box, True
|
||||
|
Reference in New Issue
Block a user