From bd2d0a89530fc30b67d949bcbea525f7853b2a9d Mon Sep 17 00:00:00 2001 From: Sam Nicholls Date: Sat, 20 Apr 2013 20:40:30 +0200 Subject: [PATCH] getUser get->read --- modules/users/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/users/api.js b/modules/users/api.js index d894f4c..830dd39 100644 --- a/modules/users/api.js +++ b/modules/users/api.js @@ -27,7 +27,7 @@ var api = function(dbot) { // Return a user record given a UUID 'getUser': function(uuid, callback) { - this.db.get('users', uuid, function(err, user) { + this.db.read('users', uuid, function(err, user) { if(err) user = false; callback(user); });