Fix: Modifier Category was borking as it was sending the product version id instead of product id in modifier category info
This commit is contained in:
parent
63f5871350
commit
608dde4619
@ -246,7 +246,7 @@ def modifier_category_info(item: ModifierCategory, date_: date, db: Session) ->
|
|||||||
enabled=False,
|
enabled=False,
|
||||||
products=[
|
products=[
|
||||||
ProductLinkSchema(
|
ProductLinkSchema(
|
||||||
id=p.id,
|
id=p.product_id,
|
||||||
name=p.name,
|
name=p.name,
|
||||||
enabled=True if p.product_id in products else False,
|
enabled=True if p.product_id in products else False,
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user