mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-10 09:53:14 -05:00
Bug Fixes (#467)
* fixes #463 * fixes #465 * fixes #461 * fixes #458 key error * Fixes #459 * Fixes comments shown when printing * fix meal-image not return on API call * return better status * reorganize docs Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
@@ -12,9 +12,9 @@ logger = root_logger.get_logger()
|
||||
|
||||
@dataclass
|
||||
class ImageOptions:
|
||||
ORIGINAL_IMAGE: str = "original*"
|
||||
MINIFIED_IMAGE: str = "min-original*"
|
||||
TINY_IMAGE: str = "tiny-original*"
|
||||
ORIGINAL_IMAGE: str = "original.webp"
|
||||
MINIFIED_IMAGE: str = "min-original.webp"
|
||||
TINY_IMAGE: str = "tiny-original.webp"
|
||||
|
||||
|
||||
IMG_OPTIONS = ImageOptions()
|
||||
|
||||
@@ -33,7 +33,7 @@ class Cleaner:
|
||||
|
||||
recipe_data["recipeYield"] = Cleaner.yield_amount(recipe_data.get("recipeYield"))
|
||||
recipe_data["recipeIngredient"] = Cleaner.ingredient(recipe_data.get("recipeIngredient"))
|
||||
recipe_data["recipeInstructions"] = Cleaner.instructions(recipe_data["recipeInstructions"])
|
||||
recipe_data["recipeInstructions"] = Cleaner.instructions(recipe_data.get("recipeInstructions"))
|
||||
recipe_data["image"] = Cleaner.image(recipe_data.get("image"))
|
||||
recipe_data["slug"] = slugify(recipe_data.get("name"))
|
||||
recipe_data["orgURL"] = url
|
||||
|
||||
Reference in New Issue
Block a user