fix: handle potential undefined URL in infoHash extraction

This commit is contained in:
Viren070
2025-01-20 20:16:11 +00:00
parent b57f4b59f4
commit 89bcf9b5ac
+1 -1
View File
@@ -323,7 +323,7 @@ export class BaseWrapper {
indexer,
stream.duration,
stream.personal,
stream.infoHash || this.extractInfoHash(stream.url)
stream.infoHash || this.extractInfoHash(stream.url || '')
);
}
}