@xuda.io/drive_module 1.1.643 → 1.1.644

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.
Files changed (2) hide show
  1. package/index.js +4 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -634,6 +634,10 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
634
634
  check_req
635
635
  );
636
636
 
637
+ if (check_existing_file_ret.code > -1) {
638
+ return { code: -5, data: "file not exit" };
639
+ }
640
+
637
641
  var target_file = path.join(file_path, file_name);
638
642
  const master_id = await _common.get_project_app_id(app_id, true);
639
643
  const tempPath = file_obj.path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.643",
3
+ "version": "1.1.644",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {