Post Re Implemented
This commit is contained in:
1 parent
af332691d5
commit
4aa11efddf
9 files changed
+60
-63
No files matched your search
@@ -129,13 +129,8 @@ exports.newProfilePosts = function newProfilePosts() {
|
||||
postType: post.postType,
|
||||
timestamp: post.timestamp,
|
||||
repliesCount: post.replies.length,
|
||||
reactionsCount: []
|
||||
reactions: Array.from(post.reactions)
|
||||
}
|
||||
|
||||
for (let i = 0; i < post.reactionTypesCount; i++) {
|
||||
postResponse.reactionsCount.push(post.reactionsCount.get(i))
|
||||
}
|
||||
|
||||
response.push(postResponse)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user