Fix reaction counting

This commit is contained in:
Rafael Silva 2025-01-13 18:38:52 -03:00
parent ac95880bdb
commit 5fa624a0e7
No known key found for this signature in database

View File

@ -57,7 +57,6 @@ module DiscourseRewind
.where(posts: { user_id: user.id }) .where(posts: { user_id: user.id })
.where(created_at: date) .where(created_at: date)
.group(:reaction_value) .group(:reaction_value)
.limit(5)
.count, .count,
) )
end end