mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 09:25:45 +01:00
removed console.log
This commit is contained in:
@@ -227,9 +227,7 @@ var user = require('./../user.js'),
|
||||
user.isFollowing(callerUID, userData.theirid, function(isFollowing) {
|
||||
posts.getPostsByUid(userData.theirid, 0, 9, function(posts) {
|
||||
|
||||
userData.posts = posts.filter(function(p) {
|
||||
console.log(typeof p.deleted);
|
||||
return p.deleted !== "1";});
|
||||
userData.posts = posts.filter(function(p) {return p.deleted !== "1";});
|
||||
userData.isFollowing = isFollowing;
|
||||
userData.signature = marked(userData.signature || '');
|
||||
res.json(userData);
|
||||
|
||||
Reference in New Issue
Block a user