@xuda.io/drive_module 1.1.1024 → 1.1.1025

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 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -355,13 +355,16 @@ exports.get_drive_files = async function (req) {
355
355
  }
356
356
 
357
357
  const internal_path = val.path;
358
+ const directory_path = get_studio_path(
359
+ val.path,
360
+ app_id_master,
361
+ val.relativePath
362
+ );
363
+ const file_path = "";
358
364
 
359
365
  let ret = await db_module.get_app_couch_doc(
360
366
  app_id_master,
361
- path.join(
362
- get_studio_path(val.path, app_id_master, val.relativePath),
363
- val.name
364
- )
367
+ path.join(directory_path, val.name)
365
368
  );
366
369
 
367
370
  if (ret.code > -1) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1024",
3
+ "version": "1.1.1025",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {