Skip to content

Commit

Permalink
[F] Fix list
Browse files Browse the repository at this point in the history
  • Loading branch information
hykilpikonna committed Jan 12, 2025
1 parent 1113044 commit d7db45d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/icu/samnyan/aqua/sega/maimai2/Maimai2Apis.kt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import java.util.*
fun Maimai2ServletController.initApis() {
// Used because maimai does not actually require paging implementation
fun String.unpaged(key: String? = null, fn: PagedHandler) {
val k = key ?: (this.replace("get", "").firstCharLower() + "List")
val k = key ?: (this.replace("Get", "").firstCharLower() + "List")
this {
fn(this).let { mapOf("userId" to uid, "nextIndex" to 0, "length" to it.size, k to it) }
}
Expand Down

0 comments on commit d7db45d

Please sign in to comment.