From fb6640c0a3e68770b9c39f09e778d9d4d370fda6 Mon Sep 17 00:00:00 2001 From: uommou Date: Tue, 9 Jul 2024 17:23:38 +0900 Subject: [PATCH] hotfix --- app/database/chroma_db.py | 1 + app/dto/db_dto.py | 1 + 2 files changed, 2 insertions(+) diff --git a/app/database/chroma_db.py b/app/database/chroma_db.py index 4db2df1..dbcd2ab 100644 --- a/app/database/chroma_db.py +++ b/app/database/chroma_db.py @@ -113,6 +113,7 @@ async def update_db_data(schedule_data: UpdateScheduleDTO): "member": schedule_data.member_id, "category": schedule_data.category, "category_id": schedule_data.schedule_id, + "category_color": schedule_data.category_color, "location": schedule_data.location, "person": schedule_data.person }] diff --git a/app/dto/db_dto.py b/app/dto/db_dto.py index f911b9a..5420298 100644 --- a/app/dto/db_dto.py +++ b/app/dto/db_dto.py @@ -9,6 +9,7 @@ class AddScheduleDTO(BaseModel): member_id: int category: str category_id: int + category_color: str location: str person: str