@xuda.io/drive_module 1.1.466 → 1.1.467
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.js +9 -8
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -524,19 +524,20 @@ exports.delete_drive_files = async function (req) {
|
|
|
524
524
|
app_id_reference
|
|
525
525
|
);
|
|
526
526
|
for await (let doc of docs) {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
doc.
|
|
530
|
-
|
|
527
|
+
console.log(doc);
|
|
528
|
+
// await module.exports.delete_file_from_bucket(doc.bucket);
|
|
529
|
+
// doc.ts = Date.now();
|
|
530
|
+
// doc.stat = 4;
|
|
531
|
+
// await db_module.save_app_couch_doc(app_id_reference, doc);
|
|
531
532
|
}
|
|
532
533
|
}
|
|
533
534
|
|
|
534
535
|
doc_ret.data.ts = Date.now();
|
|
535
536
|
doc_ret.data.stat = 4;
|
|
536
|
-
save_ret = await db_module.save_app_couch_doc(
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
);
|
|
537
|
+
// save_ret = await db_module.save_app_couch_doc(
|
|
538
|
+
// app_id_reference,
|
|
539
|
+
// doc_ret.data
|
|
540
|
+
// );
|
|
540
541
|
|
|
541
542
|
break;
|
|
542
543
|
}
|