fix typeerror

This commit is contained in:
mtvpls
2026-01-05 14:40:02 +08:00
parent e5cab79993
commit 53039c2ba9

View File

@@ -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({