use direct db call to get rss_token instead

v1.18.x
psychobunny 8 years ago
parent 6cb0d6f8c1
commit 0d60b17be1

@ -55,7 +55,7 @@ module.exports = function (User) {
var token;
async.waterfall([
function (next) {
User.getUserField(uid, 'rss_token', next);
db.getObjectField('user:' + uid, 'rss_token', next);
},
function (_token, next) {
token = _token || utils.generateUUID();

Loading…
Cancel
Save