aboutsummaryrefslogtreecommitdiff
path: root/node_simple.js
diff options
context:
space:
mode:
authornanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-24 00:56:53 +0000
committernanalelfe <nargiza.nosirova@mail.utoronto.ca>2016-07-24 00:56:53 +0000
commit39afbefe2ea5b7a105c352049a4a4a171502e880 (patch)
treec973111431d2f69bae4a7be57f05fd3a773da94f /node_simple.js
parentdbdcb21969ffd5540bd310b14ee2348adac24b5c (diff)
parent18b6e474fb64f7e9b4699d3bfbf3f5276e6996ad (diff)
Merged get_exam_byID
Diffstat (limited to 'node_simple.js')
-rw-r--r--node_simple.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/node_simple.js b/node_simple.js
index c3431ed..65a233c 100644
--- a/node_simple.js
+++ b/node_simple.js
@@ -832,8 +832,6 @@ exports.remove_exam = function (fields, serverCallback) {
});
};
-
-
// callback(success, error, data)
exports.get_exam_byID = function (id, callback) {
@@ -851,9 +849,8 @@ exports.get_exam_byID = function (id, callback) {
callback(false, false, null);
}
else {
- // console.log(JSON.stringify(docs, null, 2));
- //console.log(docs);
callback(true, false, docs[0]);
+
}
});
})