diff --git a/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/notification/MastodonNotificationApiController.kt b/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/notification/MastodonNotificationApiController.kt index 88d06682..0ec66d0e 100644 --- a/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/notification/MastodonNotificationApiController.kt +++ b/src/main/kotlin/dev/usbharu/hideout/mastodon/interfaces/api/notification/MastodonNotificationApiController.kt @@ -48,8 +48,8 @@ class MastodonNotificationApiController( ) val httpHeader = notifications.toHttpHeader( - { "${applicationConfig.url}/api/v1/notifications?max_id=$it" }, - { "${applicationConfig.url}/api/v1/notifications?min_id=$it" } + { "${applicationConfig.url}/api/v1/notifications?min_id=$it" }, + { "${applicationConfig.url}/api/v1/notifications?max_id=$it" } ) ?: return@runBlocking ResponseEntity.ok( notifications.asFlow() )