diff options
| author | HumairAK <humair88@hotmail.com> | 2016-07-25 08:51:37 +0000 |
|---|---|---|
| committer | HumairAK <humair88@hotmail.com> | 2016-07-25 08:51:37 +0000 |
| commit | 16b2dab8c2a384ccb95fca048414f33daf3925a8 (patch) | |
| tree | 0bb68d1316265431db26bf9ee7d5a0689eb737f7 /node_simple.js | |
| parent | 1c8e4f255782d756700431a33a8990f514eca698 (diff) | |
added warning message for adding solution while not logged in
Diffstat (limited to 'node_simple.js')
| -rw-r--r-- | node_simple.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/node_simple.js b/node_simple.js index 2eab34c..165eb22 100644 --- a/node_simple.js +++ b/node_simple.js @@ -330,7 +330,6 @@ 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,9 +366,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); } |
