@xuda.io/drive_module 1.1.898 → 1.1.900

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -236,6 +236,8 @@ exports.get_drive_files = async function (req) {
236
236
  }
237
237
  }
238
238
  files.size = formatBytes(files.sizeInBytes);
239
+
240
+ return files;
239
241
  };
240
242
 
241
243
  const get_workspace_files = async function () {
@@ -320,7 +322,7 @@ exports.get_drive_files = async function (req) {
320
322
  // }
321
323
  // files.size = formatBytes(files.sizeInBytes);
322
324
 
323
- return { code: 1, data: await process_drive_data(ret, file_doc) };
325
+ return { code: 1, data: await get_drive_files(ret, file_doc) };
324
326
  };
325
327
  const get_user_files = async function () {
326
328
  opt.selector.docType = "user_drive";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.898",
3
+ "version": "1.1.900",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {