@xuda.io/drive_module 1.1.721 → 1.1.722

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 +0 -4
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -341,7 +341,6 @@ exports.get_drive_files = async function (req) {
341
341
  delete ret.data.docType;
342
342
  delete ret.data.stat;
343
343
  } else {
344
- // if (drive_type === "studio") {
345
344
  if (val.type === "directory") {
346
345
  val.sizeInBytes = await get_folder_size(
347
346
  val.path,
@@ -351,9 +350,6 @@ exports.get_drive_files = async function (req) {
351
350
  }
352
351
  // supports file uploaded directly to the server
353
352
  val.access_link = await rep(val.path, "studio"); //+ "?r=" + Date.now();
354
- // } else {
355
- // values_to_delete.push(i);
356
- // }
357
353
  }
358
354
  val.date_created = new Date(val.stat.birthtime).valueOf();
359
355
  delete val.stat;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.721",
3
+ "version": "1.1.722",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {