mirror of
https://github.com/zoriya/flood.git
synced 2025-12-19 21:55:15 +00:00
@@ -249,7 +249,7 @@ class ClientRequest {
|
|||||||
let callback = () => {
|
let callback = () => {
|
||||||
// empty initializer
|
// empty initializer
|
||||||
};
|
};
|
||||||
const destination = `${destinationPath}${path.sep}${filenames[index]}`;
|
const destination = path.join(destinationPath, filenames[index]);
|
||||||
const isLastRequest = index + 1 === sourcePaths.length;
|
const isLastRequest = index + 1 === sourcePaths.length;
|
||||||
|
|
||||||
if (isLastRequest) {
|
if (isLastRequest) {
|
||||||
|
|||||||
@@ -285,7 +285,7 @@ const client = {
|
|||||||
moveTorrentsRequest.moveTorrents({
|
moveTorrentsRequest.moveTorrents({
|
||||||
filenames,
|
filenames,
|
||||||
sourcePaths,
|
sourcePaths,
|
||||||
resolvedPath,
|
destinationPath: resolvedPath,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user