@xuda.io/drive_module 1.1.1266 → 1.1.1268
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -465,7 +465,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
465
465
|
try {
|
|
466
466
|
const { drive_type, app_id, files_arr, uid } = req;
|
|
467
467
|
validate_drive_type(drive_type);
|
|
468
|
-
|
|
468
|
+
debugger;
|
|
469
469
|
if (!Array.isArray(files_arr)) {
|
|
470
470
|
return {
|
|
471
471
|
code: -400,
|
|
@@ -678,7 +678,7 @@ export const create_drive_folder = async (req, job_id, headers) => {
|
|
|
678
678
|
folder_name,
|
|
679
679
|
type: doc.type,
|
|
680
680
|
};
|
|
681
|
-
|
|
681
|
+
|
|
682
682
|
const check_existing_file_ret = await check_drive_file(check_req);
|
|
683
683
|
|
|
684
684
|
if (check_existing_file_ret.code < 0) {
|
|
@@ -1202,7 +1202,7 @@ export const upload_drive_file = async (req, job_id, headers, file_obj) => {
|
|
|
1202
1202
|
}
|
|
1203
1203
|
};
|
|
1204
1204
|
export const check_drive_file = async (req, job_id, headers, file_obj) => {
|
|
1205
|
-
const { type = 'file', drive_type, app_id, uid, file_path } = req;
|
|
1205
|
+
const { type = 'file', drive_type, app_id, uid, file_path, folder_name } = req;
|
|
1206
1206
|
|
|
1207
1207
|
let master_app_id;
|
|
1208
1208
|
|