From 4eed97254eb7ede1ac0910fd700cc5929efdeb69 Mon Sep 17 00:00:00 2001 From: usbharu <64310155+usbharu@users.noreply.github.com> Date: Tue, 30 Jan 2024 14:13:40 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=E3=83=9A=E3=83=BC=E3=82=B8=E3=83=8D?= =?UTF-8?q?=E3=83=BC=E3=82=B7=E3=83=A7=E3=83=B3=E3=81=AEHTTP=E3=83=98?= =?UTF-8?q?=E3=83=83=E3=83=80=E3=83=BC=E5=A4=89=E6=8F=9B=E3=81=AEURL?= =?UTF-8?q?=E7=B5=84=E3=81=BF=E7=AB=8B=E3=81=A6=E9=83=A8=E5=88=86=E3=81=AE?= =?UTF-8?q?=E3=83=90=E3=82=B0=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../application/infrastructure/exposed/PaginationList.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/kotlin/dev/usbharu/hideout/application/infrastructure/exposed/PaginationList.kt b/src/main/kotlin/dev/usbharu/hideout/application/infrastructure/exposed/PaginationList.kt index 9bb2239b..011aaaa2 100644 --- a/src/main/kotlin/dev/usbharu/hideout/application/infrastructure/exposed/PaginationList.kt +++ b/src/main/kotlin/dev/usbharu/hideout/application/infrastructure/exposed/PaginationList.kt @@ -8,15 +8,15 @@ fun PaginationList.toHttpHeader( ): String? { val mutableListOf = mutableListOf() if (next != null) { - mutableListOf.add("<${nextBlock(nextBlock.toString())}>; rel=\"next\";") + mutableListOf.add("<${nextBlock(this.next.toString())}>; rel=\"next\"") } if (prev != null) { - mutableListOf.add("<${prevBlock(prevBlock.toString())}>; rel=\"prev\";") + mutableListOf.add("<${prevBlock(this.prev.toString())}>; rel=\"prev\"") } if (mutableListOf.isEmpty()) { return null } - return mutableListOf.joinToString(",") + return mutableListOf.joinToString(", ") }