@xuda.io/drive_module 1.1.1444 → 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.
- package/index.mjs +4 -1
- 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,
|