@xuda.io/drive_module 1.1.1443 → 1.1.1445

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 +4 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -624,6 +624,9 @@ export const delete_drive_files = async (req, job_id, headers) => {
624
624
  ret = await db_module.sava_app_couch_bulk_docs(app_id_delete, docs);
625
625
 
626
626
  // cleanup
627
+ setTimeout(() => {
628
+
629
+
627
630
  for (const doc of docs) {
628
631
  try {
629
632
  switch (drive_type) {
@@ -673,7 +676,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
673
676
  }
674
677
  } catch (error) {}
675
678
  }
676
-
679
+ }, 1000);
677
680
  return {
678
681
  code: 200,
679
682
  data: ret,
@@ -685,7 +688,6 @@ export const delete_drive_files = async (req, job_id, headers) => {
685
688
 
686
689
  export const update_drive_file = async (req, job_id, headers, file_obj) => {
687
690
  try {
688
- debugger;
689
691
  const { drive_type, app_id, file_path, uid } = req;
690
692
  validate_drive_type(drive_type);
691
693
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1443",
3
+ "version": "1.1.1445",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {