From 251b5c691cbaddb10ee092e04f334de00e1a14d8 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Sat, 14 Dec 2024 21:21:05 +1300 Subject: [PATCH] fix cancelling --- src/components/pages/NodeFilesPage.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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); }