The Node.js® Website

chore: hotfix on `main` regarding api-data

+2 -2
+2 -2
app/[locale]/next-data/api-data/route.ts
··· 1 1 import { deflateSync } from 'node:zlib'; 2 2 3 - import getReleaseData from '@/next-data/releaseData'; 3 + import provideReleaseData from '@/next-data/providers/releaseData'; 4 4 import { VERCEL_REVALIDATE } from '@/next.constants.mjs'; 5 5 import { defaultLocale } from '@/next.locales.mjs'; 6 6 import type { GitHubApiFile } from '@/types'; ··· 14 14 // for a digest and metadata of all API pages from the Node.js Website 15 15 // @see https://nextjs.org/docs/app/building-your-application/routing/router-handlers 16 16 export const GET = async () => { 17 - const releases = await getReleaseData(); 17 + const releases = provideReleaseData(); 18 18 19 19 const { versionWithPrefix } = releases.find(release => 20 20 ['Active LTS', 'Maintenance LTS'].includes(release.status)