Skip to content

Commit 861ddf0

Browse files
avivkellerCopilot
andauthored
Update apps/site/app/[locale]/next-data/api-data/route.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Aviv Keller <me@aviv.sh>
1 parent be23a18 commit 861ddf0

File tree

1 file changed

+1
-1
lines changed
  • apps/site/app/[locale]/next-data/api-data

1 file changed

+1
-1
lines changed

apps/site/app/[locale]/next-data/api-data/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const getPathnameForApiFile = (name: string, version: string) =>
2323
export const GET = async () => {
2424
const releases = provideReleaseData();
2525

26-
const { versionWithPrefix } = releases.find(release => release.isLts)!;
26+
const { versionWithPrefix } = releases.find(release => release.status === 'Active LTS')!;
2727

2828
const gitHubApiResponse = await fetch(
2929
getGitHubApiDocsUrl(versionWithPrefix),

0 commit comments

Comments
 (0)