@xuda.io/drive_module 1.1.1267 → 1.1.1269

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.
Files changed (2) hide show
  1. package/index.mjs +3 -3
  2. 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,
@@ -474,7 +474,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
474
474
  }
475
475
 
476
476
  for await (const file of files_arr) {
477
- let doc = await get_drive_doc('file', drive_type, app_id, uid, file.file_path, headers);
477
+ let doc = await get_drive_doc(file.type, drive_type, app_id, uid, file.file_path, headers);
478
478
 
479
479
  let save_ret;
480
480
  switch (drive_type) {
@@ -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
- debugger;
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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1267",
3
+ "version": "1.1.1269",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {