aboutsummaryrefslogtreecommitdiff
path: root/testImports.js
diff options
context:
space:
mode:
authorkumar <kumar.damani@mail.utoronto.ca>2016-07-24 06:00:18 +0000
committerkumar <kumar.damani@mail.utoronto.ca>2016-07-24 06:00:18 +0000
commita4cadfb98def3ac6aaee3bb5a166fb0fd7072211 (patch)
tree2ff1a14a065cfa9c4486e28922f6f357b32b4e63 /testImports.js
parent513312a00975a3fa0848736829e00d46825e853f (diff)
added user search
Diffstat (limited to 'testImports.js')
-rw-r--r--testImports.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/testImports.js b/testImports.js
index 7546f06..6a900e1 100644
--- a/testImports.js
+++ b/testImports.js
@@ -134,3 +134,8 @@ dbFile.retrieveFollows("some_user names", function (bool, result) {
/*dbFile.vote_solution("5792d8a970040378d4e4b389" , "down", function (bool, mssg) {
console.log(mssg);
});*/
+
+
+dbFile.search_users("david", function (bool, mssg) {
+ if (mssg.length != 0) console.log(mssg);
+});