diff --git a/cookbook/integration/melarecipes.py b/cookbook/integration/melarecipes.py index 9679a90f..fe95460b 100644 --- a/cookbook/integration/melarecipes.py +++ b/cookbook/integration/melarecipes.py @@ -57,7 +57,7 @@ class MelaRecipes(Integration): recipe.source_url = recipe_json['link'] step = Step.objects.create( - instruction=instruction, space=self.request.space, + instruction=instruction, space=self.request.space, show_ingredients_table=self.request.user.userpreference.show_step_ingredients ) ingredient_parser = IngredientParser(self.request, True) @@ -67,7 +67,7 @@ class MelaRecipes(Integration): f = ingredient_parser.get_food(food) u = ingredient_parser.get_unit(unit) step.ingredients.add(Ingredient.objects.create( - food=f, unit=u, amount=amount, note=note, original_text=ingredient, space=self.request.space, show_ingredients_table=self.request.user.userpreference.show_step_ingredients, + food=f, unit=u, amount=amount, note=note, original_text=ingredient, space=self.request.space, )) recipe.steps.add(step)