@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.
- package/index.js +3 -1
- 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
|
|
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";
|