diff --git a/backend/src/routes/projects.py b/backend/src/routes/projects.py index 89f5d67..144c979 100644 --- a/backend/src/routes/projects.py +++ b/backend/src/routes/projects.py @@ -82,7 +82,7 @@ async def patch_project( if not db_project: raise HTTPException(status_code=status.HTTP_404_NOT_FOUND) - # Set all provided arguments in the database project + # Fetch project from database for key, value in project.dict(exclude_unset=True).items(): setattr(db_project, key, value)