Fix typo in documentation comment

This commit is contained in:
linuskmr 2021-12-25 18:58:13 +01:00
parent abf61d651c
commit a7c3f6dfc9

View file

@ -82,7 +82,7 @@ async def patch_project(
if not db_project: if not db_project:
raise HTTPException(status_code=status.HTTP_404_NOT_FOUND) 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(): for key, value in project.dict(exclude_unset=True).items():
setattr(db_project, key, value) setattr(db_project, key, value)