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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 5 deletions

View file

@ -106,6 +106,7 @@ export function createEmbedViewRecordFromPost(
replyCount: post.replyCount,
repostCount: post.repostCount,
likeCount: post.likeCount,
quoteCount: post.quoteCount,
indexedAt: post.indexedAt,
}
}

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,
}