diff --git a/src/app/api/search/route.ts b/src/app/api/search/route.ts index 88cd8b761..2c16770f9 100644 --- a/src/app/api/search/route.ts +++ b/src/app/api/search/route.ts @@ -62,12 +62,7 @@ export async function GET(request: NextRequest) { title: true, parent: { select: { - courses: { - select: { - courseId: true, - contentId: true, - }, - }, + courses: true, }, }, },