@xuda.io/drive_module 1.1.1030 → 1.1.1032

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 -10
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -414,16 +414,8 @@ exports.get_drive_files = async function (req) {
414
414
  .slice(from, to + 1);
415
415
  }
416
416
  await drill(tree.children);
417
- tree.path = get_studio_path(
418
- directoryPath,
419
- app_id_master,
420
- tree?.name || ""
421
- );
422
- tree.file_path = get_studio_path(
423
- directoryPath,
424
- app_id_master,
425
- tree?.name || ""
426
- );
417
+ tree.path = get_studio_path(tree.path, app_id_master, tree?.name || "");
418
+ tree.file_path = path.join(tree.path, val.name);
427
419
  } else {
428
420
  tree = {
429
421
  children: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1030",
3
+ "version": "1.1.1032",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {