lib/qpush/web/apis/history.rb in qpush-0.1.7 vs lib/qpush/web/apis/history.rb in qpush-0.1.8
- old
+ new
@@ -13,10 +13,10 @@
private
def retrieve_jobs
@jobs = Web.redis do |conn|
- conn.lrange(Web.keys.history, 0, 10)
+ conn.lrange(Web.keys[:history], 0, 10)
end
end
def update_jobs
@jobs.map! { |i| JSON.parse(i) }