Skip to content

Commit

Permalink
Update conversations/impl/src/main/java/org/sakaiproject/conversation…
Browse files Browse the repository at this point in the history
…s/impl/ConversationsServiceImpl.java

Co-authored-by: bgarciaentornos <[email protected]>
  • Loading branch information
adrianfish and bgarciaentornos authored Jan 22, 2025
1 parent e3fa19c commit 350d78d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2358,7 +2358,7 @@ public Map<String, Object> getSiteStats(String siteId, Instant from, Instant to,
getEventStats(ConversationsEvents.POST_UPVOTED, siteId, from, to, userIds).forEach(stat -> {

Long current = upvotedPostCountsByUser.getOrDefault(stat.getUserId(), 0L);
current = current + stat.getCount();
current += stat.getCount();
upvotedPostCountsByUser.put(stat.getUserId(), current);
});

Expand Down

0 comments on commit 350d78d

Please sign in to comment.