Permalink
Browse files

Merge pull request #6 from samcday/master

Fix for msg.del
  • Loading branch information...
2 parents 6eadd66 + 9fcba64 commit 28661aa21a43a28f80d341049b42f1b05cfc6870 @seebees committed Mar 10, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 libs/index.js
View
@@ -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 28661aa

Please sign in to comment.