@xuda.io/drive_module 1.1.645 → 1.1.646

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -674,7 +674,10 @@ exports.update_drive_file = async function (req, job_id, headers, file_obj) {
674
674
  break;
675
675
  }
676
676
  case "user":
677
- doc_ret = await db_module.get_couch_doc("xuda_drive", file_name);
677
+ doc_ret = await db_module.get_couch_doc(
678
+ "xuda_drive",
679
+ check_existing_file_ret.duplicates[0]._id
680
+ );
678
681
  break;
679
682
 
680
683
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.645",
3
+ "version": "1.1.646",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {