Skip to content

Commit 861ddf0

Browse files
avivkellerCopilot
andauthored
Update apps/site/app/[locale]/next-data/api-data/route.ts
Co-authored-by: Copilot <[email protected]> Signed-off-by: Aviv Keller <[email protected]>
1 parent be23a18 commit 861ddf0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • apps/site/app/[locale]/next-data/api-data

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)