@xuda.io/drive_module 1.1.907 → 1.1.908
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 +2 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1829,6 +1829,7 @@ exports.run_drive_pending_ocr = async function (req) {
|
|
|
1829
1829
|
selector: { docType: "user_drive", ocr_stat: 1, stat: 3 },
|
|
1830
1830
|
limit: 1,
|
|
1831
1831
|
};
|
|
1832
|
+
|
|
1832
1833
|
const user_drive_res = await db_module.find_couch_query("xuda_drive", opt);
|
|
1833
1834
|
for await (let doc of user_drive_res.docs) {
|
|
1834
1835
|
await ocr_drive_file(doc);
|
|
@@ -1859,6 +1860,7 @@ exports.run_drive_pending_ocr = async function (req) {
|
|
|
1859
1860
|
|
|
1860
1861
|
var app_res = await db_module.find_couch_query("xuda_master", app_opt);
|
|
1861
1862
|
|
|
1863
|
+
opt.selector.docType = "workspace__drive";
|
|
1862
1864
|
for (let app of app_res.docs) {
|
|
1863
1865
|
const app_drive_res = await db_module.find_app_couch_query(app._id, opt);
|
|
1864
1866
|
for await (let doc of app_drive_res.docs) {
|