X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/9086b07aefc0560832373bb4ba30888d8d43f0d6..14836effd31a54f1ff693f423c062691b4f64768:/app/models/selectricity_service.rb?ds=sidebyside diff --git a/app/models/selectricity_service.rb b/app/models/selectricity_service.rb index 6d338de..add8154 100644 --- a/app/models/selectricity_service.rb +++ b/app/models/selectricity_service.rb @@ -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