From 16b2dab8c2a384ccb95fca048414f33daf3925a8 Mon Sep 17 00:00:00 2001 From: HumairAK Date: Mon, 25 Jul 2016 04:51:37 -0400 Subject: added warning message for adding solution while not logged in --- node_simple.js | 3 --- 1 file changed, 3 deletions(-) (limited to 'node_simple.js') 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); } -- cgit v1.2.3