diff options
Diffstat (limited to 'node_simple.js')
| -rw-r--r-- | node_simple.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/node_simple.js b/node_simple.js index f7da2c3..2eab34c 100644 --- a/node_simple.js +++ b/node_simple.js @@ -330,7 +330,7 @@ exports.retrieve_userComments_history = function (username, callback) { // get a connection mongoFactory.getConnection(uri).then(function (db) { - + console.log("for Each here"); var solutions = db.collection('solutions'); var exams = db.collection('exams'); var mylist = []; @@ -367,6 +367,7 @@ exports.retrieve_userComments_history = function (username, callback) { }); function doCall() { + console.log("Am i inside the doCall()"); callback(true, mylist); console.log("IN NODE SIMPLE: " + mylist); } |
