@xuda.io/drive_module 1.1.824 → 1.1.826

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 +7 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -209,8 +209,9 @@ exports.get_drive_files = async function (req) {
209
209
  // console.log(file_doc);
210
210
 
211
211
  let files = {
212
- path: req.path || "/",
213
212
  name: file_doc.data.folder_name || "/",
213
+ path: req.path || "/",
214
+ file_path: req.path || "/",
214
215
  sizeInBytes: 0,
215
216
  children: [],
216
217
  };
@@ -379,6 +380,11 @@ exports.get_drive_files = async function (req) {
379
380
  name: tree?.name,
380
381
  size: 0,
381
382
  path: get_studio_path(directoryPath, app_id_master, tree?.name || ""), // directoryPath,
383
+ file_path: get_studio_path(
384
+ directoryPath,
385
+ app_id_master,
386
+ tree?.name || ""
387
+ ), // directoryPath,
382
388
  };
383
389
  }
384
390
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.824",
3
+ "version": "1.1.826",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {