Skip to content

Commit 77445d3

Browse files
committed
Correcing param ordering based on app router
1 parent 3181a0d commit 77445d3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/api/llms-txt/[...path]/route.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ import {getDocsRootNode, nodeForPath} from 'sentry-docs/docTree';
88
import {isDeveloperDocs} from 'sentry-docs/isDeveloperDocs';
99
import {getFileBySlugWithCache} from 'sentry-docs/mdx';
1010

11-
export async function GET({params}: {params: Promise<{path: string[]}>}) {
11+
export async function GET(
12+
request: Request,
13+
{params}: {params: Promise<{path: string[]}>}
14+
) {
1215
try {
1316
const resolvedParams = await params;
1417
const pathSegments = resolvedParams.path || [];

0 commit comments

Comments
 (0)