|
|
@ -107,7 +107,7 @@ function generateForUserTopics(req, res, callback) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
], function(err, userData) {
|
|
|
|
], function(err, userData) {
|
|
|
|
if (err) {
|
|
|
|
if (err) {
|
|
|
|
return next(err);
|
|
|
|
return callback(err);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
generateForTopics({
|
|
|
|
generateForTopics({
|
|
|
@ -116,7 +116,7 @@ function generateForUserTopics(req, res, callback) {
|
|
|
|
description: 'A list of topics that are posted by ' + userData.username,
|
|
|
|
description: 'A list of topics that are posted by ' + userData.username,
|
|
|
|
feed_url: '/user/' + userslug + '/topics.rss',
|
|
|
|
feed_url: '/user/' + userslug + '/topics.rss',
|
|
|
|
site_url: '/user/' + userslug + '/topics'
|
|
|
|
site_url: '/user/' + userslug + '/topics'
|
|
|
|
}, 'uid:' + userData.uid + ':topics', req, res, next);
|
|
|
|
}, 'uid:' + userData.uid + ':topics', req, res, callback);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|