@xuda.io/drive_module 1.1.1276 → 1.1.1278
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,7 +231,6 @@ 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({
|
|
@@ -466,7 +465,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
466
465
|
try {
|
|
467
466
|
const { drive_type, app_id, files_arr, uid } = req;
|
|
468
467
|
validate_drive_type(drive_type);
|
|
469
|
-
|
|
468
|
+
|
|
470
469
|
if (!Array.isArray(files_arr)) {
|
|
471
470
|
return {
|
|
472
471
|
code: -400,
|