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 cc2ea91 commit 7e2f1f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion microservices/requestApi/routes/routes/requests.js
Original file line number Diff line number Diff line change
Expand Up @@ -309,11 +309,11 @@ var buildDynamic = function(projectConfig, db, notify, util, router){

//save a request
router.put("/save/:requestId", function(req, res, next){
console.log("req.params.requestId", req.params.requestId);
var requestId = mongoose.Types.ObjectId(req.params.requestId);
var config = require('config');
var logger = require('npmlog');

console.log("req.params.requestId", req.params.requestId, requestId);
console.log("Saving");
db.Request.getAll({_id: requestId}, 1, 1, req.user, function(findErr, findRes){
console.log("Inside get all", requestId, findErr, findRes);
Expand Down

0 comments on commit 7e2f1f0

Please sign in to comment.