1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-06 05:55:23 +02:00

Fix/multiple bug fixes (#1015)

* test-case for #1011

* revert regressions for #1011

* update cache key on new image

* lint

* fix #1012

* typing

* random_recipe fixture

* remove delete button when no listeners are present

* spacing

* update copy to match settings value
This commit is contained in:
Hayden 2022-02-27 12:48:21 -09:00 committed by GitHub
parent 6a5fd8e4f8
commit 568a1a0015
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 112 additions and 18 deletions

View file

@ -2,7 +2,7 @@ from typing import Optional
from uuid import UUID, uuid4
from fastapi_camelcase import CamelModel
from pydantic import Field
from pydantic import UUID4, Field
class IngredientReferences(CamelModel):
@ -10,7 +10,7 @@ class IngredientReferences(CamelModel):
A list of ingredient references.
"""
reference_id: UUID = None
reference_id: Optional[UUID4]
class Config:
orm_mode = True