single recipe nutrition
This commit is contained in:
parent
892e42ba33
commit
dd0a184a4c
@ -43,7 +43,8 @@ class RecipesRepository implements RecipesRepositoryInterface
|
||||
'name' => $rawRecipe['name'],
|
||||
'description' => $rawRecipe['description'],
|
||||
'ingredients' => $this->processIngredients($rawRecipe['ingredients']),
|
||||
'steps' => $rawRecipe['steps']->pluck('step')
|
||||
'steps' => $rawRecipe['steps']->pluck('step'),
|
||||
'nutrition' => $rawRecipe['nutrition']
|
||||
];
|
||||
|
||||
return $recipe;
|
||||
|
Loading…
Reference in New Issue
Block a user