Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Jan 31, 2020
1 parent 6a13c4c commit 269715f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions microservices/requestApi/db/model/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,9 @@ model.getAll = function(query, limit, page, user, callback){
];

db.Request.aggregate(q).exec(function(err, results){
if (err){
return callback(err, []);
}
logger.verbose("in topic bind");
if (results){
for (var i=0; i<results.length; i++){
Expand Down

0 comments on commit 269715f

Please sign in to comment.