@xuda.io/drive_module 1.1.1369 → 1.1.1371

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 +5 -4
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1460,10 +1460,10 @@ const validate_drive_type = (drive_type) => {
1460
1460
  export const run_drive_pending_ocr = async (req) => {
1461
1461
  const { uid } = req;
1462
1462
  try {
1463
- let opt = {
1464
- selector: { docType: 'user_drive', ocr_stat: 1, stat: 3 },
1465
- limit: 1,
1466
- };
1463
+ // let opt = {
1464
+ // selector: { docType: 'user_drive', ocr_stat: 1, stat: 3 },
1465
+ // limit: 1,
1466
+ // };
1467
1467
 
1468
1468
  // const user_drive_res = await find_contact_query(uid, opt);
1469
1469
  // for await (let doc of user_drive_res.docs) {
@@ -1505,6 +1505,7 @@ export const run_drive_pending_ocr = async (req) => {
1505
1505
  for await (let doc of user_drive_res.docs) {
1506
1506
  await ocr_drive_file(null, doc);
1507
1507
  }
1508
+
1508
1509
  opt.selector.docType = 'workspace_drive';
1509
1510
  const app_drive_res = await db_module.find_app_couch_query(app._id, opt);
1510
1511
  for await (let doc of app_drive_res.docs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1369",
3
+ "version": "1.1.1371",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {