diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/timeline/TimelineController.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/timeline/TimelineController.kt index 52e83f5d..c80b999b 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/timeline/TimelineController.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/timeline/TimelineController.kt @@ -22,9 +22,9 @@ class TimelineController( @GetMapping("/home") suspend fun homeTimeline( model: Model, - @RequestParam sinceId: String?, - @RequestParam maxId: String?, - @RequestParam minId: String? + @RequestParam("since_id") sinceId: String?, + @RequestParam("max_id") maxId: String?, + @RequestParam("min_id") minId: String? ): String { val principal = springSecurityFormLoginPrincipalContextHolder.getPrincipal() val userDetail = transaction.transaction { diff --git a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/user/UserController.kt b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/user/UserController.kt index a9a8979e..b0eea320 100644 --- a/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/user/UserController.kt +++ b/hideout-core/src/main/kotlin/dev/usbharu/hideout/core/interfaces/web/user/UserController.kt @@ -25,9 +25,9 @@ class UserController( @GetMapping("/users/{name}") suspend fun userById( @PathVariable name: String, - @RequestParam minId: Long?, - @RequestParam maxId: Long?, - @RequestParam sinceId: Long?, + @RequestParam("min_id") minId: Long?, + @RequestParam("max_id") maxId: Long?, + @RequestParam("since_id") sinceId: Long?, model: Model ): String { val principal = springSecurityFormLoginPrincipalContextHolder.getPrincipal() diff --git a/hideout-core/src/main/resources/templates/fragments-timeline.html b/hideout-core/src/main/resources/templates/fragments-timeline.html index f08d6715..ef29250c 100644 --- a/hideout-core/src/main/resources/templates/fragments-timeline.html +++ b/hideout-core/src/main/resources/templates/fragments-timeline.html @@ -8,7 +8,7 @@
- Show more + Show more
@@ -16,7 +16,7 @@
- Show more + Show more