mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
async file response
This commit is contained in:
parent
ef0e5f85d4
commit
8f810b4f50
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ def delete_recipe(recipe_slug: str, db: Session = Depends(generate_session)):
|
|||
|
||||
|
||||
@router.get("/{recipe_slug}/image")
|
||||
def get_recipe_img(recipe_slug: str):
|
||||
async def get_recipe_img(recipe_slug: str):
|
||||
""" Takes in a recipe slug, returns the static image """
|
||||
recipe_image = read_image(recipe_slug)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue