@xuda.io/drive_module 1.1.474 → 1.1.476
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 +1 -5
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -524,7 +524,6 @@ exports.delete_drive_files = async function (req) {
|
|
|
524
524
|
app_id_reference
|
|
525
525
|
);
|
|
526
526
|
for await (let doc of docs) {
|
|
527
|
-
console.log(doc);
|
|
528
527
|
if (doc.type === "file") {
|
|
529
528
|
await module.exports.delete_file_from_bucket(doc.bucket);
|
|
530
529
|
}
|
|
@@ -549,10 +548,7 @@ exports.delete_drive_files = async function (req) {
|
|
|
549
548
|
await module.exports.delete_file_from_bucket(doc_ret.data.bucket);
|
|
550
549
|
doc_ret.data.ts = Date.now();
|
|
551
550
|
doc_ret.data.stat = 4;
|
|
552
|
-
save_ret = await db_module.
|
|
553
|
-
app_id_reference,
|
|
554
|
-
doc_ret.data
|
|
555
|
-
);
|
|
551
|
+
save_ret = await db_module.save_couch_doc("xuda_drive", doc_ret.data);
|
|
556
552
|
break;
|
|
557
553
|
}
|
|
558
554
|
default:
|