@xuda.io/drive_module 1.1.688 → 1.1.690

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 +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2360,7 +2360,7 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
2360
2360
  app_id_master,
2361
2361
  file_name_id
2362
2362
  );
2363
- await fs_module.rename(file_name_id, file_name_to);
2363
+
2364
2364
  if (doc_ret.code > -1) {
2365
2365
  doc_ret.data._delete = true;
2366
2366
  save_ret = await db_module.save_app_couch_doc(
@@ -2368,7 +2368,7 @@ exports.update_drive_file_tags = async function (req, job_id, headers) {
2368
2368
  doc_ret.data
2369
2369
  );
2370
2370
 
2371
- doc_ret.data._id = file_name_to;
2371
+ doc_ret.data._id = file_name_id;
2372
2372
  delete doc_ret.data._rev;
2373
2373
  }
2374
2374
  misc_module.rsync_drive_resources_to_remote_servers(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.688",
3
+ "version": "1.1.690",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {