From dafb05619d0056f122913942a19624c1d8567476 Mon Sep 17 00:00:00 2001 From: Mikola Date: Thu, 1 Feb 2024 23:46:58 +0300 Subject: [PATCH] fix --- src/components/FileTracker/FileTracker.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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