]> projects.mako.cc - selectricity-live/blobdiff - app/models/selectricity_service.rb
Add assert_cast_quickvote_succeeds/fails helper, and changed the fails helpers to...
[selectricity-live] / app / models / selectricity_service.rb
index 6d338dee9905d11edd407aebdd2e9ad72f1f2d16..add8154ed31df51b025f99d2c33234cd7b7dea80 100644 (file)
@@ -80,7 +80,7 @@ class SelectricityService < ActionWebService::Base
       return result
     end
     qv.votes.each  do |vote|
-      votes << VoteInfo.new(:voter_id => vote.voter.id, :voter_ipaddress => vote.voter.ipaddress, :vote_time => vote.time.to_i, :vote => vote.votes)
+      votes << VoteInfo.new(:voter_id => vote.voter.id, :voter_ipaddress => vote.voter.ipaddress, :vote_time => vote.time.to_i, :vote => vote.votes, :voter_session_id => vote.voter.session_id )
     end
     return votes
   end

Benjamin Mako Hill || Want to submit a patch?