Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonSharratt committed Feb 3, 2020
1 parent dda9794 commit 882e05b
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 @@ -417,7 +417,7 @@ model.getAll = function(query, limit, page, user, callback){

if ('_id' in query) {
db.Request.findById(query['_id'], (err3, req) => {
console.log("_ID", typeof(req), typeof(req.topic), req);
console.log("_ID", typeof(req), req);
if ( (req !== null) && (typeof(req) !== "undefined") && (typeof(req.topic) !== "undefined") ){
getAllTopics(user, { id: req.topic }, queryRequests);
}else{
Expand Down

0 comments on commit 882e05b

Please sign in to comment.