We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a69613 commit a2871dfCopy full SHA for a2871df
1 file changed
src/elections/urls.py
@@ -611,9 +611,7 @@ async def provide_nominee_info(
611
updated_nominee_info = NomineeInfo(**merged_data)
612
await elections.crud.update_nominee_info(db_session, updated_nominee_info)
613
614
-
615
await db_session.commit()
616
617
618
nominee_info = await elections.crud.get_nominee_info(db_session, computing_id)
619
- return JSONResponse(nominee_info.as_serializable())
+ return JSONResponse(nominee_info.as_serializable())
0 commit comments