From b620deecfe220bea21643d1a9daab4da0973d8dd Mon Sep 17 00:00:00 2001 From: MananTank Date: Thu, 14 Nov 2024 19:45:23 +0000 Subject: [PATCH] Show last 50 changelogs in portal instead of last 100 (#5423) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added --- ## PR-Codex overview This PR focuses on modifying the parameters for fetching changelog entries in the `ghost.ts` file, specifically adjusting the limit of results returned. ### Detailed summary - Changed the `-limit` parameter from `100` to `50` to reduce the number of results fetched. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- apps/portal/src/app/changelog/ghost.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/portal/src/app/changelog/ghost.ts b/apps/portal/src/app/changelog/ghost.ts index 2725e0ce1f5..27e5454d36f 100644 --- a/apps/portal/src/app/changelog/ghost.ts +++ b/apps/portal/src/app/changelog/ghost.ts @@ -8,7 +8,7 @@ export async function fetchChangeLogs() { key: GHOST_THIRDWEB_BLOG_KEY, fields: ["title", "slug", "published_at"].join(","), filter: "tag:changelog", - limit: "100", + limit: "50", order: "published_at DESC", include: ["authors", "tags"].join(","), })