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