Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Feb 3, 2020
1 parent 4ba48d0 commit 27bdd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microservices/requestApi/db/model/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ model.getAll = function(query, limit, page, user, callback){
logger.verbose("in topic bind");
if (results){
for (var i=0; i<results.length; i++){
if (results[i]){
if (typeof(results[i]) !== "undefined"){
let topicId = results[i].topic;
results[i].projects = projectR.get(topicId);
}
Expand Down

0 comments on commit 27bdd4f

Please sign in to comment.