@xuda.io/drive_module 1.1.1355 → 1.1.1357
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 +3 -3
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -537,7 +537,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
537
537
|
|
|
538
538
|
doc.ts = Date.now();
|
|
539
539
|
doc.stat = 4;
|
|
540
|
-
save_ret = await save_drive_doc(drive_type, app_id, doc);
|
|
540
|
+
save_ret = await save_drive_doc(drive_type, uid, app_id, doc);
|
|
541
541
|
|
|
542
542
|
break;
|
|
543
543
|
}
|
|
@@ -548,7 +548,7 @@ export const delete_drive_files = async (req, job_id, headers) => {
|
|
|
548
548
|
}
|
|
549
549
|
doc.ts = Date.now();
|
|
550
550
|
doc.stat = 4;
|
|
551
|
-
save_ret = await save_drive_doc(drive_type, app_id, doc);
|
|
551
|
+
save_ret = await save_drive_doc(drive_type, uid, app_id, doc);
|
|
552
552
|
|
|
553
553
|
break;
|
|
554
554
|
}
|
|
@@ -1359,7 +1359,7 @@ const ocr_drive_file = async (app_id, doc) => {
|
|
|
1359
1359
|
try {
|
|
1360
1360
|
doc.ocr_stat = 2;
|
|
1361
1361
|
doc.ocr_stat_date = Date.now();
|
|
1362
|
-
save_ret = await save_drive_doc(drive_type, app_id, doc, file_path);
|
|
1362
|
+
save_ret = await save_drive_doc(drive_type, uid, app_id, doc, file_path);
|
|
1363
1363
|
|
|
1364
1364
|
doc = await get_drive_doc('file', drive_type, app_id, uid, path.join(file_path, originalname));
|
|
1365
1365
|
|