The session code
The user ID (typically the socket client ID)
The sketch/drawing ID to vote for
The type of vote (dreamer, realist, criticer)
Remove a vote from a sketch.
The session code
The user ID (typically the socket client ID)
The sketch/drawing ID to remove vote from
The type of vote to remove (dreamer, realist, criticer)
Add a vote for a sketch with server-side validation. Ensures only one vote per type per user per idea - automatically removes old vote if it exists.