mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: spec
This commit is contained in:
@@ -161,6 +161,7 @@ async function getCounts(userData, callerUID) {
|
||||
counts.groups = userData.groups.length;
|
||||
counts.following = userData.followingCount;
|
||||
counts.followers = userData.followerCount;
|
||||
userData.blocksCount = counts.blocks || 0; // for backwards compatibility, remove in 1.16.0
|
||||
userData.counts = counts;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user