Add whatsapp feature
This commit is contained in:
@@ -154,7 +154,7 @@ async def seed_ingredients_for_tenant(
|
||||
shelf_life_days=ing_data.get("shelf_life_days"),
|
||||
is_perishable=ing_data.get("is_perishable", False),
|
||||
is_active=True,
|
||||
allergen_info=ing_data.get("allergen_info", []),
|
||||
allergen_info=ing_data.get("allergen_info") if ing_data.get("allergen_info") else None,
|
||||
# NEW: Local production support (Sprint 5)
|
||||
produced_locally=ing_data.get("produced_locally", False),
|
||||
recipe_id=uuid.UUID(ing_data["recipe_id"]) if ing_data.get("recipe_id") else None,
|
||||
|
||||
Reference in New Issue
Block a user