From 53039c2ba99ce3d35d792880d8408aa9b8e0a4f2 Mon Sep 17 00:00:00 2001 From: mtvpls Date: Mon, 5 Jan 2026 14:40:02 +0800 Subject: [PATCH] fix typeerror --- src/app/api/search/ws/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/api/search/ws/route.ts b/src/app/api/search/ws/route.ts index 353b2d9..bd56ad9 100644 --- a/src/app/api/search/ws/route.ts +++ b/src/app/api/search/ws/route.ts @@ -120,7 +120,7 @@ export async function GET(request: NextRequest) { setTimeout(() => reject(new Error('Emby timeout')), 20000) ), ]) - .then((embyResults) => { + .then((embyResults: any) => { completedSources++; if (!streamClosed) { const sourceEvent = `data: ${JSON.stringify({ @@ -203,7 +203,7 @@ export async function GET(request: NextRequest) { setTimeout(() => reject(new Error('OpenList timeout')), 20000) ), ]) - .then((openlistResults) => { + .then((openlistResults: any) => { completedSources++; if (!streamClosed) { const sourceEvent = `data: ${JSON.stringify({