fix
This commit is contained in:
parent
fbd6dd5752
commit
af0e789ec9
@ -87,6 +87,7 @@ class BoxService:
|
|||||||
product_line='mtg'
|
product_line='mtg'
|
||||||
)
|
)
|
||||||
self.db.add(product)
|
self.db.add(product)
|
||||||
|
self.db.flush()
|
||||||
box = Box(
|
box = Box(
|
||||||
product_id=product.id,
|
product_id=product.id,
|
||||||
type=create_box_data.type,
|
type=create_box_data.type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user