@xuda.io/drive_module 1.1.774 → 1.1.776

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
@@ -2601,6 +2601,10 @@ const get_drive_doc = async function (drive_type, app_id, uid, file_path) {
2601
2601
 
2602
2602
  doc.app_id = await _common.get_project_app_id(app_id);
2603
2603
  doc.app_id_reference = await _common.get_project_app_id(app_id, true);
2604
+ } else {
2605
+ throw new Error("file doc not found");
2604
2606
  }
2605
2607
  }
2608
+
2609
+ return doc_ret.data;
2606
2610
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.774",
3
+ "version": "1.1.776",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {