Skip to content

Commit

Permalink
Remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
ArendPeter committed Jul 28, 2024
1 parent b6e6783 commit 4cb3420
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/backend/src/Controllers/castVoteController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@ async function castVoteController(req: IElectionRequest, res: Response, next: Ne

await (await EventQueue).publish(castVoteEventQueue, event);

console.log('this is io', io)
if(io != null){ // necessary for tests
(io as Server).to('landing_page').emit('updated_stats', await innerGetGlobalElectionStats());
}
Expand Down

0 comments on commit 4cb3420

Please sign in to comment.