@xuda.io/drive_module 1.1.1001 → 1.1.1002

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 +1 -5
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -801,7 +801,6 @@ exports.delete_drive_files = async function (req, job_id, headers) {
801
801
  };
802
802
  }
803
803
 
804
- let doc_ret;
805
804
  for await (const file of files_arr) {
806
805
  let doc = await get_drive_doc(
807
806
  "file",
@@ -873,10 +872,7 @@ exports.delete_drive_files = async function (req, job_id, headers) {
873
872
  break;
874
873
  }
875
874
  case "user": {
876
- misc_module.rsync_drive_resources_to_remote_servers(
877
- "user",
878
- doc_ret.data.uid
879
- );
875
+ misc_module.rsync_drive_resources_to_remote_servers("user", uid);
880
876
  break;
881
877
  }
882
878
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1001",
3
+ "version": "1.1.1002",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {