getPidIndex socket call

This commit is contained in:
barisusakli
2014-08-27 15:03:36 -04:00
parent d67cd489cd
commit 347fc05376

View File

@@ -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;