feat: add comments count
This commit is contained in:
@@ -704,7 +704,7 @@ func (h *ProfileHandler) hydrateFeed(r *http.Request, posts []model.Post) error
|
||||
if err := h.mentions.HydrateCounts(r.Context(), ptrs); err != nil {
|
||||
return err
|
||||
}
|
||||
return h.comments.HydratePinned(r.Context(), viewerID, ptrs)
|
||||
return h.comments.Hydrate(r.Context(), viewerID, ptrs)
|
||||
}
|
||||
|
||||
// followListResp is the payload for the followers / following list endpoints:
|
||||
|
||||
Reference in New Issue
Block a user