From 49650951fb93678059b02e5627c36c7d4660608b Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Sun, 5 May 2024 12:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAliPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAliPublic.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index 00ed77b8..0a9a99ee 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -162,7 +162,7 @@ function fcopy(obj) { "file_id": obj.file_id, "share_id": obj.share_id, "auto_rename": true, - "to_parent_file_id": "root", + "to_parent_file_id": obj.folder_id || "root", "to_drive_id": obj.drive_id }, "headers": { "Content-Type": "application/json" }, "id": "0", "method": "POST", "url": "/file/copy"