refactor: replace resumeSeeding with resumeDownload in torrenting event handler

This commit is contained in:
Hachi-R
2024-12-21 16:44:49 -03:00
parent 90b320952b
commit 9884a39abc
2 changed files with 1 additions and 9 deletions

View File

@@ -24,7 +24,7 @@ const resumeGameSeed = async (
.update({ id: gameId }, { status: "seeding", shouldSeed: true });
});
await DownloadManager.resumeSeeding(gameId, game.uri!, game.downloadPath!);
await DownloadManager.resumeDownload(game);
};
registerEvent("resumeGameSeed", resumeGameSeed);