@xuda.io/drive_module 1.1.1022 → 1.1.1024
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.js +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -354,6 +354,8 @@ exports.get_drive_files = async function (req) {
|
|
|
354
354
|
continue;
|
|
355
355
|
}
|
|
356
356
|
|
|
357
|
+
const internal_path = val.path;
|
|
358
|
+
|
|
357
359
|
let ret = await db_module.get_app_couch_doc(
|
|
358
360
|
app_id_master,
|
|
359
361
|
path.join(
|
|
@@ -374,7 +376,7 @@ exports.get_drive_files = async function (req) {
|
|
|
374
376
|
if (val.type === "directory") {
|
|
375
377
|
val.name = ret.data.folder_name;
|
|
376
378
|
val.sizeInBytes = await get_folder_size(
|
|
377
|
-
|
|
379
|
+
internal_path,
|
|
378
380
|
drive_type,
|
|
379
381
|
app_id_master
|
|
380
382
|
);
|