탐색 - 남/여 크리에이터 리스트 #174

Merged
klaus merged 1 commits from test into main 2024-05-02 17:24:18 +00:00
1 changed files with 1 additions and 1 deletions

View File

@ -181,7 +181,7 @@ class ExplorerQueryRepository(
fun findCreatorByGender(gender: Int): List<Member> {
val today = LocalDate.now()
val offset = (today.dayOfMonth - 1) % 26
val characters = ('A'..'Z').map { it.toString() }
val characters = ('A'..'Z').map { it.toString() }.plus((0..9).map { it.toString() })
val rotatedChars = characters.drop(offset) + characters.take(offset)
val caseWhenClauses = rotatedChars.withIndex().joinToString(" ") {