mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
getPidIndex socket call
This commit is contained in:
@@ -367,4 +367,8 @@ SocketPosts.getCategory = function(socket, pid, callback) {
|
||||
posts.getCidByPid(pid, callback);
|
||||
};
|
||||
|
||||
SocketPosts.getPidIndex = function(socket, pid, callback) {
|
||||
posts.getPidIndex(pid, socket.uid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketPosts;
|
||||
|
||||
Reference in New Issue
Block a user