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