fix typeerror
This commit is contained in:
@@ -120,7 +120,7 @@ export async function GET(request: NextRequest) {
|
|||||||
setTimeout(() => reject(new Error('Emby timeout')), 20000)
|
setTimeout(() => reject(new Error('Emby timeout')), 20000)
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
.then((embyResults) => {
|
.then((embyResults: any) => {
|
||||||
completedSources++;
|
completedSources++;
|
||||||
if (!streamClosed) {
|
if (!streamClosed) {
|
||||||
const sourceEvent = `data: ${JSON.stringify({
|
const sourceEvent = `data: ${JSON.stringify({
|
||||||
@@ -203,7 +203,7 @@ export async function GET(request: NextRequest) {
|
|||||||
setTimeout(() => reject(new Error('OpenList timeout')), 20000)
|
setTimeout(() => reject(new Error('OpenList timeout')), 20000)
|
||||||
),
|
),
|
||||||
])
|
])
|
||||||
.then((openlistResults) => {
|
.then((openlistResults: any) => {
|
||||||
completedSources++;
|
completedSources++;
|
||||||
if (!streamClosed) {
|
if (!streamClosed) {
|
||||||
const sourceEvent = `data: ${JSON.stringify({
|
const sourceEvent = `data: ${JSON.stringify({
|
||||||
|
|||||||
Reference in New Issue
Block a user