mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-14 20:03:14 -05:00
* fixes #625 * update dependencies * bump version * fix failing tests Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user