Skip to content
Browse files

msg.del was using wrong field name for id.

  • Loading branch information...
1 parent 6eadd66 commit 9fcba64c366fc5ee49c7ee17149d5fc2f1792b0d @samcday samcday committed Oct 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/index.js
View
2 libs/index.js
@@ -120,7 +120,7 @@ function IronMQ (token, op) {
, function (err, obj) {
if (!err) {
obj = obj.messages.map(function(msg) {
- msg.del = messageDel.bind(msg, msg.message_id)
+ msg.del = messageDel.bind(msg, msg.id)
return msg
})
}

0 comments on commit 9fcba64

Please sign in to comment.
Something went wrong with that request. Please try again.