fix: Mealplans Disappearing/Can't be edited (#4379)

This commit is contained in:
Michael Genson
2024-10-17 03:45:50 -05:00
committed by GitHub
parent c40d2d0486
commit 79b36024a4
2 changed files with 8 additions and 5 deletions

View File

@@ -47,12 +47,12 @@ class CreatePlanEntry(MealieModel):
class UpdatePlanEntry(CreatePlanEntry):
id: int
group_id: UUID
user_id: UUID | None = None
user_id: UUID
class SavePlanEntry(CreatePlanEntry):
group_id: UUID
user_id: UUID | None = None
user_id: UUID
model_config = ConfigDict(from_attributes=True)