fix: ページングのレスポンスが間違っていたのを修正

This commit is contained in:
usbharu 2024-01-31 00:46:12 +09:00
parent 637b2b84d5
commit 44bca9d373
1 changed files with 2 additions and 2 deletions

View File

@ -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()
)