@xuda.io/drive_module 1.1.783 → 1.1.785

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 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2597,7 +2597,7 @@ const get_drive_doc = async function (
2597
2597
  stat: 3,
2598
2598
  server_file_name: file_name,
2599
2599
  originalname: file_name,
2600
- file_path: uid,
2600
+ file_path: file_path,
2601
2601
  date_created: Date.now(),
2602
2602
  ip: headers?.["cf-connecting-ip"],
2603
2603
  country: headers?.["cf-ipcountry"],
@@ -2606,6 +2606,7 @@ const get_drive_doc = async function (
2606
2606
  drive_type,
2607
2607
  app_id: await _common.get_project_app_id(app_id),
2608
2608
  app_id_reference: await _common.get_project_app_id(app_id, true),
2609
+ uid,
2609
2610
  };
2610
2611
  } else {
2611
2612
  throw new Error("file doc not found");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.783",
3
+ "version": "1.1.785",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {