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 d850c4a commit 515d37f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions microservices/requestApi/db/model/request.js
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ model.getAll = function(query, limit, page, user, callback){
if ('_id' in query) {
console.log("id in query");
db.Request.findById(query['_id'], (err3, req) => {
console.log("_ID", typeof(req), req);
if ( (typeof(req) !== "undefined") && (typeof(req.topic) !== "undefined") ){
console.log("TOPIC ID", req.topic);
getAllTopics(user, { id: req.topic }, queryRequests);
Expand Down

0 comments on commit 515d37f

Please sign in to comment.