Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
fix: syntax error in endpoint /week/next (#15)
Browse files Browse the repository at this point in the history
  • Loading branch information
sralloza authored Oct 29, 2021
1 parent d2c8e5e commit e75fb81
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/api/meals.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def get_meals_of_current_week(*, db=Depends(get_db), simple=Depends(simplify_ask
response_model=List[Union[Meal, SimpleMeal]],
summary="Get meals of next week",
)
def get_meals_of_next_week(*, b=Depends(get_db), simple=Depends(simplify_asked)):
def get_meals_of_next_week(*, db=Depends(get_db), simple=Depends(simplify_asked)):
"""Returns all the meals from next week. Max 7 meals will be returned."""
return simplify(
crud.meal.get_week_delta(db, delta_weeks=1), List[SimpleMeal], simple
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "meal-planner"
version = "1.2.0"
version = "1.2.1"
description = ""
authors = ["Diego Alloza González <[email protected]>"]
packages = [
Expand Down

0 comments on commit e75fb81

Please sign in to comment.