X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/06bede5ddbcd7f26e50a958c4d64527580cc38c9..8f3646d179b4d779c9521b6cc1b227f371830395:/app/models/selectricity_service.rb?ds=inline diff --git a/app/models/selectricity_service.rb b/app/models/selectricity_service.rb index 86458e0..add5ab9 100644 --- a/app/models/selectricity_service.rb +++ b/app/models/selectricity_service.rb @@ -7,6 +7,7 @@ class SelectricityService < ActionWebService::Base if election voter = QuickVoter.new voter.election = election + voter.ipaddress = "XMLRPC Request" voter.session_id = "XMLRPC:#{voter_id}" voter.vote=Vote.new voter.vote.votes=vote_list[0]