diff --git a/lib/sidekiq/paginator.rb b/lib/sidekiq/paginator.rb index a7d1836e..66779024 100644 --- a/lib/sidekiq/paginator.rb +++ b/lib/sidekiq/paginator.rb @@ -13,7 +13,7 @@ module Sidekiq case type when 'zset' - rev = opts && opt[:reverse] + rev = opts && opts[:reverse] total_size, items = conn.multi do conn.zcard(key) if rev