mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: fixing sonar issues
This commit is contained in:
parent
bfd54d5a3a
commit
dcd16346ab
1 changed files with 6 additions and 0 deletions
|
@ -304,6 +304,12 @@ export class DownloadManager {
|
||||||
};
|
};
|
||||||
case Downloader.RealDebrid: {
|
case Downloader.RealDebrid: {
|
||||||
const downloadUrl = await RealDebridClient.getDownloadUrl(download.uri);
|
const downloadUrl = await RealDebridClient.getDownloadUrl(download.uri);
|
||||||
|
|
||||||
|
if (!downloadUrl)
|
||||||
|
throw new Error(
|
||||||
|
"This download is not available on Real-Debrid and polling download status from Real-Debrid is not yet available."
|
||||||
|
);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
action: "start",
|
action: "start",
|
||||||
game_id: downloadId,
|
game_id: downloadId,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue