@xuda.io/drive_module 1.1.757 → 1.1.758
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -646,7 +646,7 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
646
646
|
app_id,
|
|
647
647
|
uid,
|
|
648
648
|
drive_type,
|
|
649
|
-
|
|
649
|
+
|
|
650
650
|
file_path,
|
|
651
651
|
};
|
|
652
652
|
const check_existing_file_ret = await module.exports.check_drive_file(
|
|
@@ -657,7 +657,7 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
|
|
|
657
657
|
return { code: -5, data: "file not exit" };
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
var target_file =
|
|
660
|
+
var target_file = file_path;
|
|
661
661
|
const master_id = await _common.get_project_app_id(app_id, true);
|
|
662
662
|
const tempPath = file_obj.path;
|
|
663
663
|
if (drive_type === "studio") {
|