From dd528c702fbaa5c3a3d04988e35ba6ea8061c882 Mon Sep 17 00:00:00 2001 From: lunaticbum Date: Tue, 30 Dec 2025 18:10:35 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B2=AB=ED=99=94=EB=A9=B4=20=EB=A1=9C?= =?UTF-8?q?=EB=93=9C=EB=A5=BC=20=EC=A2=80=20=EC=A4=84=EC=9D=B4=EC=9E=90...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../back/lun/controllers/view/PostViewController.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/kr/lunaticbum/back/lun/controllers/view/PostViewController.kt b/src/main/kotlin/kr/lunaticbum/back/lun/controllers/view/PostViewController.kt index 2141c04..b0e9610 100644 --- a/src/main/kotlin/kr/lunaticbum/back/lun/controllers/view/PostViewController.kt +++ b/src/main/kotlin/kr/lunaticbum/back/lun/controllers/view/PostViewController.kt @@ -153,7 +153,7 @@ class PostViewController( @RequestParam cursor: Long, @RequestParam(required = false) q: String? // 더보기 할 때도 검색어 유지 필요 ): FeedResponse { - return feedService.getGlobalFeed(cursor, 10, q).awaitSingle() + return feedService.getGlobalFeed(cursor, 6, q).awaitSingle() } // --- View Endpoints --- @@ -178,7 +178,7 @@ class PostViewController( // [변경] FeedService를 통해 통합 피드 데이터 조회 val username = userDetails?.username // 파라미터: (cursor=null, size=10, keyword=q, username) - val feedData = feedService.getGlobalFeed(null, 10, q, username).awaitSingle() + val feedData = feedService.getGlobalFeed(null, 6, q, username).awaitSingle() vm.modelMap["feedItems"] = feedData.items vm.modelMap["nextCursor"] = feedData.nextCursor