Skip to content

Commit 82dccf7

Browse files
committed
fix: patch to put
1 parent 2a5f562 commit 82dccf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nominees/urls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ async def delete_nominee_info(
109109
await nominees.crud.delete_nominee_info(db_session, computing_id)
110110
await db_session.commit()
111111

112-
@router.patch(
112+
@router.put(
113113
"/{computing_id:str}",
114114
description="Will create or update nominee info. Returns an updated copy of their nominee info.",
115115
response_model=NomineeInfoModel,

0 commit comments

Comments
 (0)