posts.getPostsByTid and posts.getPostsByPids now require a uid passed in

This commit is contained in:
psychobunny
2014-09-17 18:09:53 -04:00
parent c1f3b94d67
commit 45383ce21e
3 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ module.exports = function(Topics) {
Topics.getTopicPosts = function(tid, set, start, end, uid, reverse, callback) {
callback = callback || function() {};
posts.getPostsByTid(tid, set, start, end, reverse, function(err, postData) {
posts.getPostsByTid(tid, set, start, end, uid, reverse, function(err, postData) {
if(err) {
return callback(err);
}