We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 335cb22 commit 9ffd823Copy full SHA for 9ffd823
src/elections/urls.py
@@ -330,7 +330,7 @@ async def delete_election(
330
await db_session.commit()
331
332
old_election = await elections.crud.get_election(db_session, slugified_name)
333
- return JSONResponse({"success": old_election is not None})
+ return JSONResponse({"success": old_election is None})
334
335
# registration ------------------------------------------------------------- #
336
0 commit comments