aboutsummaryrefslogtreecommitdiff
path: root/testImports.js
diff options
context:
space:
mode:
authorkumar <kumar.damani@mail.utoronto.ca>2016-07-24 01:38:32 +0000
committerkumar <kumar.damani@mail.utoronto.ca>2016-07-24 01:38:32 +0000
commitbeb24e45b6ea43bb7f89b38631047df17a9931df (patch)
tree59f0bf7a94e308f2da922e61f6472dfaae8f20ce /testImports.js
parent8f6bfa9244411274c4f6a489b2571a423f7d8548 (diff)
added update vote count of solutions
Diffstat (limited to 'testImports.js')
-rw-r--r--testImports.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/testImports.js b/testImports.js
index 8946a2f..7546f06 100644
--- a/testImports.js
+++ b/testImports.js
@@ -115,12 +115,12 @@ dbFile.retrieve_userSolutions_count("some_user name", function (bool, result) {
});*/
-dbFile.followExam("nanalelfe@gmail.com", "578a44ff71ed097fc3079d6e", function (bool, mssg) {
+/*dbFile.followExam("nanalelfe@gmail.com", "578a44ff71ed097fc3079d6e", function (bool, mssg) {
if (!bool) console.log(mssg);
else {
console.log(mssg);
}
-});
+});*/
/*
dbFile.retrieveFollows("some_user names", function (bool, result) {
@@ -129,3 +129,8 @@ dbFile.retrieveFollows("some_user names", function (bool, result) {
console.log(result);
}
});*/
+
+
+/*dbFile.vote_solution("5792d8a970040378d4e4b389" , "down", function (bool, mssg) {
+ console.log(mssg);
+});*/