@xuda.io/drive_module 1.1.782 → 1.1.784

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
@@ -2592,12 +2592,12 @@ const get_drive_doc = async function (
2592
2592
  const file_name = path.basename(file_path);
2593
2593
  const ext = path.extname(file_name).toLowerCase();
2594
2594
  doc = {
2595
- _id: file_name,
2595
+ _id: file_path,
2596
2596
  docType: `studio_drive`,
2597
2597
  stat: 3,
2598
2598
  server_file_name: file_name,
2599
2599
  originalname: file_name,
2600
- 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"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.782",
3
+ "version": "1.1.784",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {