mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
closes #1138
This commit is contained in:
@@ -304,5 +304,8 @@ SocketPosts.getRecentPosts = function(socket, data, callback) {
|
||||
posts.getRecentPosts(socket.uid, 0, data.count - 1, data.term, callback);
|
||||
};
|
||||
|
||||
SocketPosts.getCategory = function(socket, pid, callback) {
|
||||
posts.getCidByPid(pid, callback);
|
||||
}
|
||||
|
||||
module.exports = SocketPosts;
|
||||
Reference in New Issue
Block a user