mirror of
https://github.com/zoriya/flood.git
synced 2026-06-05 03:39:24 +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 {torrentService} = this.services;
|
||||||
const hashes = getEnsuredArray(options.hashes);
|
|
||||||
const stoppedHashes = hashes.filter((hash) => torrentService.getTorrent(hash).status.includes('stopped'));
|
const stoppedHashes = hashes.filter((hash) => torrentService.getTorrent(hash).status.includes('stopped'));
|
||||||
|
|
||||||
const hashesToStart = [];
|
const hashesToStart = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user