Compare commits

..

2 Commits

Author SHA1 Message Date
klaus b2fc75edb8 Merge pull request '룰렛 정렬 순서 수정' (#137) from test into main
Reviewed-on: #137
2024-02-27 17:29:36 +00:00
Klaus 72b48e136f 룰렛 정렬 순서 수정
- id 순서대로 정렬
2024-02-28 02:21:33 +09:00
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class NewRouletteService(
}
}
return rouletteList.sortedWith(compareByDescending<NewRoulette> { it.isActive }.thenBy { it.id })
return rouletteList.sortedBy { it.id }
.asSequence()
.map {
GetNewRouletteResponse(