add quoteCount to view creators (#4972)

This commit is contained in:
Hailey
2024-08-22 10:26:49 -07:00
committed by GitHub
parent 85d70fe3ef
commit 9f1c411360
4 changed files with 7 additions and 5 deletions
+1
View File
@@ -106,6 +106,7 @@ export function createEmbedViewRecordFromPost(
replyCount: post.replyCount,
repostCount: post.repostCount,
likeCount: post.likeCount,
quoteCount: post.quoteCount,
indexedAt: post.indexedAt,
}
}
+1
View File
@@ -74,6 +74,7 @@ export function embedViewRecordToPostView(
labels: v.labels,
embed: v.embeds?.[0],
likeCount: v.likeCount,
quoteCount: v.quoteCount,
replyCount: v.replyCount,
repostCount: v.repostCount,
}