diff --git a/src/components/FileTracker/FileTracker.jsx b/src/components/FileTracker/FileTracker.jsx index fb30e763..0d940f35 100644 --- a/src/components/FileTracker/FileTracker.jsx +++ b/src/components/FileTracker/FileTracker.jsx @@ -12,7 +12,7 @@ const FileTracker = ({ file, setDeletedTask, taskId }) => { apiRequest("/file/detach", { method: "DELETE", data: { - file_id: file.id, + file_id: file.file_id, entity_type: 2, entity_id: taskId, status: 0