Skip to content

Commit

Permalink
Fixed an issue when sidekiq options were passed as boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
k-rudy committed Apr 20, 2017
1 parent e1fa893 commit 23a4b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/wisper/sidekiq.rb
Expand Up @@ -8,7 +8,7 @@ class SidekiqBroadcaster
attr_reader :options

def initialize(options = {})
@options = options
@options = options == true ? {} : options
end

def broadcast(subscriber, publisher, event, args)
Expand Down

0 comments on commit 23a4b9c

Please sign in to comment.