Skip to content

Commit

Permalink
Merge pull request #258 from depromeet/feature/#257
Browse files Browse the repository at this point in the history
[🛠️ Refactor] 이모지 응답시 고정된 순서로 내려주기
  • Loading branch information
ManHyuk authored Apr 21, 2024
2 parents 6495aff + 3c9a3f7 commit 88f1d39
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ data class ReactedEmojisResult(
.groupBy { it.emoji.id }
.mapValues { entry -> ReactedEmojiAndReactUsers.of(entry.value, userId) }
.values
.sortedBy { it.id }
.toList()

private fun countTotalReactUser(reactedEmojiAndReactUsers: List<ReactedEmojiAndReactUsers>) =
Expand Down

0 comments on commit 88f1d39

Please sign in to comment.