* fixes #625

* update dependencies

* bump version

* fix failing tests

Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
Hayden
2021-07-25 12:55:30 -08:00
committed by GitHub
parent bf06482b29
commit 940663a22d
14 changed files with 214 additions and 193 deletions

View File

@@ -84,7 +84,7 @@ def get_recipe(recipe_slug: str, session: Session = Depends(generate_session), i
if not recipe:
raise HTTPException(status.HTTP_404_NOT_FOUND)
print(recipe.settings.public, is_user)
if recipe.settings.public or is_user:
return recipe