Skip to content

Commit

Permalink
Merge pull request #1 from jweyrich/master
Browse files Browse the repository at this point in the history
merge original
  • Loading branch information
liyangdal committed Sep 17, 2014
2 parents 9edf8ff + b6e506b commit 8d2a779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ apnsFeedback.on('error', function (err) {
console.error("[apns-feedback] " + err);
}).on('feedback', function (feedbackData) {
feedbackData.forEach(function (item) {
var time = item[i].time;
var device = item[i].device;
var time = item.time;
var device = item.device;

// Do something with item.device and item.time;
console.log("[apns-feedback] Should remove device: '%s'", device);
Expand Down

0 comments on commit 8d2a779

Please sign in to comment.