1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-08-02 20:15:24 +02:00

fix: Add missing group_id to RecipeTag and TagBase schemas (#5342)

Co-authored-by: Robert Dana <bob@yall.org>
Co-authored-by: Michael Genson <71845777+michael-genson@users.noreply.github.com>
This commit is contained in:
robertdanahome 2025-04-24 12:09:37 -04:00 committed by Ian Pösse-Koch
parent d243bbf0f8
commit b00c9acd5c
3 changed files with 3 additions and 0 deletions

View file

@ -38,6 +38,7 @@ app_dirs = get_app_dirs()
class RecipeTag(MealieModel):
id: UUID4 | None = None
group_id: UUID4 | None = None
name: str
slug: str

View file

@ -16,6 +16,7 @@ class CategorySave(CategoryIn):
class CategoryBase(CategoryIn):
id: UUID4
group_id: UUID4 | None = None
slug: str
model_config = ConfigDict(from_attributes=True)

View file

@ -17,6 +17,7 @@ class RecipeToolSave(RecipeToolCreate):
class RecipeToolOut(RecipeToolCreate):
id: UUID4
group_id: UUID4
slug: str
model_config = ConfigDict(from_attributes=True)