@xuda.io/drive_module 1.1.1037 → 1.1.1039

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 +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -430,7 +430,11 @@ exports.get_drive_files = async function (req) {
430
430
  };
431
431
  }
432
432
 
433
- tree.path = get_studio_path(tree.path, app_id_master, tree?.name || "");
433
+ tree.path = get_studio_path(
434
+ tree.path || tree.name,
435
+ app_id_master,
436
+ tree?.name || ""
437
+ );
434
438
  tree.file_path = path.join(tree.path, tree.name);
435
439
 
436
440
  return {
@@ -536,7 +540,6 @@ exports.delete_drive_files = async function (req, job_id, headers) {
536
540
 
537
541
  switch (drive_type) {
538
542
  case "studio": {
539
- debugger;
540
543
  const app_id_reference = await _common.get_project_app_id(app_id);
541
544
  const target_dir = path.join(
542
545
  _conf[`studio_drive_path`],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1037",
3
+ "version": "1.1.1039",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {