@xuda.io/drive_module 1.1.1146 → 1.1.1148
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 +3 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2116,11 +2116,13 @@ setTimeout(async function () {
|
|
|
2116
2116
|
const fix_date_modified = async function () {
|
|
2117
2117
|
const app_id = 'prj3937cb6f9a31c8c7dea25055bba845b1';
|
|
2118
2118
|
const ret = await db_module.find_app_couch_query(app_id, { selector: { docType: 'workspace_drive' } });
|
|
2119
|
-
console.log('fix_date_modified', ret);
|
|
2120
2119
|
|
|
2121
2120
|
for (doc of ret.docs) {
|
|
2122
2121
|
if (!doc.date_modified) {
|
|
2123
2122
|
doc.date_modified = 0;
|
|
2124
2123
|
}
|
|
2125
2124
|
}
|
|
2125
|
+
|
|
2126
|
+
const save_ret = await db_module.sava_app_couch_bulk_docs(app_id, ret.docs);
|
|
2127
|
+
console.log('fix_date_modified', save_ret, ret);
|
|
2126
2128
|
};
|