diff --git a/src/components/pages/NodeFilesPage.vue b/src/components/pages/NodeFilesPage.vue index fe42ea5..53e5c54 100644 --- a/src/components/pages/NodeFilesPage.vue +++ b/src/components/pages/NodeFilesPage.vue @@ -133,7 +133,6 @@ import NodeDropDownMenu from "../nodes/NodeDropDownMenu.vue"; import TextButton from "../TextButton.vue"; import DialogUtils from "../../js/DialogUtils.js"; import SaveButton from "../SaveButton.vue"; -import FileTransferAPI from "../../js/FileTransferAPI.js"; import IconButton from "../IconButton.vue"; import FileTransferrer from "../../js/FileTransferrer.js"; @@ -262,7 +261,7 @@ export default { } try { - await FileTransferAPI.cancelFileTransfer(fileTransfer.to, fileTransfer.id); + await FileTransferrer.cancelFileTransfer(fileTransfer); } catch(e) { console.log(e); }