There was an error while loading. Please reload this page.
1 parent 8d61a38 commit 6da6bbbCopy full SHA for 6da6bbb
1 file changed
backend/app/controller/planner/planner_controller.py
@@ -77,6 +77,7 @@ def addPlannedRecipe(args, household_id):
77
recipe = Recipe.find_by_id(args["recipe_id"])
78
if not recipe:
79
raise NotFoundRequest()
80
+ recipe.checkAuthorized()
81
cooking_date = (
82
datetime.fromtimestamp(args["cooking_date"] / 1000, timezone.utc).date()
83
if "cooking_date" in args
0 commit comments