lib/cosgrove/upvote_job.rb in cosgrove-0.0.3.5 vs lib/cosgrove/upvote_job.rb in cosgrove-0.0.4.0pre1

- old
+ new

@@ -27,10 +27,10 @@ if post.nil? cannot_find_input(event) return end - votes_today = SteemData::AccountOperation.type('vote').where(voter: steem_account).today + votes_today = SteemApi::Tx::Vote.where(voter: steem_account).today today_count = votes_today.count author_count = votes_today.where(author: author_name).count vote_ratio = if today_count == 0 0.0 else