Skip to content

Commit

Permalink
Fix bug with deleting messages
Browse files Browse the repository at this point in the history
Fixes bug with deleting messages
Fixes #2
  • Loading branch information
thousandsofthem committed May 15, 2013
1 parent 7ac03b0 commit b56fa1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/delayed/backend/ironmq.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@


module Delayed
module Backend
module Ironmq
Expand All @@ -22,7 +21,7 @@ def initialize(data = {})
puts "[init] Delayed::Backend::Ironmq"
@msg = nil
if data.is_a?(IronMQ::Message)
@mgs = data
@msg = data
data = JSON.load(data.body)
end

Expand Down

0 comments on commit b56fa1d

Please sign in to comment.