Skip to content

Commit

Permalink
fixed bug in listAllPending
Browse files Browse the repository at this point in the history
  • Loading branch information
Diego Lafuente committed Apr 21, 2015
1 parent acd1a9e commit fdb57d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/packages.js
Expand Up @@ -431,7 +431,7 @@ exports.listAllPending = function(callback)
log.error('Could not open collection: %s', error);
return callback('database not available');
}
collection.find({}, {name: true}).toArray(function(error, result)
collection.find().toArray(function(error, result)
{
if (error)
{
Expand Down

0 comments on commit fdb57d2

Please sign in to comment.