From 60fa7a5bffc24b48d8a88a14de6cebc5ebc57ce7 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 16 Feb 2025 17:14:45 +0800 Subject: [PATCH] :necktie: Increase the amount of featured post --- pkg/internal/http/api/recommendation_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/internal/http/api/recommendation_api.go b/pkg/internal/http/api/recommendation_api.go index 1097bb3..0022812 100644 --- a/pkg/internal/http/api/recommendation_api.go +++ b/pkg/internal/http/api/recommendation_api.go @@ -14,7 +14,7 @@ import ( ) func listRecommendation(c *fiber.Ctx) error { - const featuredMax = 3 + const featuredMax = 5 posts, err := services.GetFeaturedPosts(featuredMax) if err != nil {