mirror of
https://github.com/zoriya/flood.git
synced 2026-05-25 08:23:26 +00:00
server: properly pass hashes to checkHash
This commit is contained in:
@@ -176,9 +176,8 @@ class ClientRequest {
|
||||
});
|
||||
}
|
||||
|
||||
checkHash(options) {
|
||||
checkHash(hashes) {
|
||||
const {torrentService} = this.services;
|
||||
const hashes = getEnsuredArray(options.hashes);
|
||||
const stoppedHashes = hashes.filter((hash) => torrentService.getTorrent(hash).status.includes('stopped'));
|
||||
|
||||
const hashesToStart = [];
|
||||
|
||||
Reference in New Issue
Block a user