We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a3bd506 commit 4cb1662Copy full SHA for 4cb1662
libraries/PollPost.js
@@ -11,6 +11,7 @@ class PollPost {
11
Promise.all(
12
posts.map(post => {
13
delete post.creatorId
14
+ delete post.viewedBy
15
return new Promise((resolve, reject) => {
16
Promise.all([
17
Upvote.countDocuments({postId: {$eq: post._id}, postFormat: "Poll"}),
libraries/ThreadPost.js
@@ -13,6 +13,7 @@ class ThreadPost {
18
19
Upvote.countDocuments({postId: {$eq: post._id}, postFormat: "Thread"}),
0 commit comments