@xuda.io/drive_module 1.1.1171 → 1.1.1173
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 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2132,7 +2132,7 @@ setTimeout(async function () {
|
|
|
2132
2132
|
// })
|
|
2133
2133
|
// );
|
|
2134
2134
|
// module.exports.run_drive_pending_ocr();
|
|
2135
|
-
|
|
2135
|
+
fix_date_modified();
|
|
2136
2136
|
}, 2000);
|
|
2137
2137
|
|
|
2138
2138
|
const fix_date_modified = async function () {
|
|
@@ -2141,7 +2141,7 @@ const fix_date_modified = async function () {
|
|
|
2141
2141
|
|
|
2142
2142
|
for (doc of ret.docs) {
|
|
2143
2143
|
if (!doc.date_modified) {
|
|
2144
|
-
doc.date_modified =
|
|
2144
|
+
doc.date_modified = doc.date_created;
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
2147
|
|