* Very minor

This commit is contained in:
Bryan Ashby 2015-08-17 21:45:11 -06:00
parent d71cae5c37
commit 990dffe880
4 changed files with 28 additions and 13 deletions

View file

@ -318,8 +318,12 @@ User.prototype.persistProperty = function(propName, propValue, cb) {
userDb.run(
'REPLACE INTO user_property (user_id, prop_name, prop_value) ' +
'VALUES (?, ?, ?);', [ this.userId, propName, propValue ], function ran(err) {
cb(err);
'VALUES (?, ?, ?);',
[ this.userId, propName, propValue ],
function ran(err) {
if(cb) {
cb(err);
}
}
);
}