From a7c3f6dfc92025f00a30893bd10f2cbb0b7db72b Mon Sep 17 00:00:00 2001 From: linuskmr Date: Sat, 25 Dec 2021 18:58:13 +0100 Subject: [PATCH] Fix typo in documentation comment --- backend/src/routes/projects.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)