From c187aeafa86a763fbfe8c67798c668e14440b02c Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Mon, 29 Jan 2024 19:44:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=82=B3=E3=83=94=E3=83=9A=E5=BE=8C?= =?UTF-8?q?=E3=81=AE=E7=B7=A8=E9=9B=86=E5=BF=98=E3=82=8C=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../interfaces/api/account/MastodonAccountApiController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/account/MastodonAccountApiController.kt b/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/account/MastodonAccountApiController.kt index 92e5e7f4..64700a54 100644 --- a/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/account/MastodonAccountApiController.kt +++ b/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/account/MastodonAccountApiController.kt @@ -81,8 +81,8 @@ class MastodonAccountApiController( ) ) val httpHeader = statuses.toHttpHeader( - { "${applicationConfig.url}/api/v1/follow_requests?max_id=$it" }, - { "${applicationConfig.url}/api/v1/follow_requests?min_id=$it" }, + { "${applicationConfig.url}/api/v1/accounts/$id/statuses?max_id=$it" }, + { "${applicationConfig.url}/api/v1/accounts/$id/statuses?min_id=$it" }, ) if (httpHeader != null) {