diff --git a/app/services/recipe_service.py b/app/services/recipe_service.py index 451048f..d71a464 100644 --- a/app/services/recipe_service.py +++ b/app/services/recipe_service.py @@ -114,7 +114,7 @@ class RecipeService: # Store in cache (content-addressed, auto-pins to IPFS) cached, ipfs_cid = self.cache.put(tmp_path, node_type="recipe", move=True) - recipe_id = cached.cid + recipe_id = ipfs_cid or cached.cid # Prefer IPFS CID return recipe_id, None