@xuda.io/drive_module 1.1.1271 → 1.1.1273

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.mjs +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -231,13 +231,14 @@ export const get_drive_files = async (req) => {
231
231
  }
232
232
  if (doc.type === 'directory') {
233
233
  try {
234
+ debugger;
234
235
  const sizeInBytes = await get_folder_size(file_path, drive_type, app_id_reference, uid);
235
236
  files.sizeInBytes += sizeInBytes;
236
237
  files.children.push({
237
238
  sizeInBytes,
238
239
  size: formatBytes(sizeInBytes),
239
240
  name: doc.folder_name,
240
- path: '/' + doc._id,
241
+ path: doc.file_path + doc.folder_name, //'/' + doc._id,
241
242
  file_path: '/' + doc._id,
242
243
  type: doc.type,
243
244
  is_folder: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1271",
3
+ "version": "1.1.1273",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {