@xuda.io/drive_module 1.1.1147 → 1.1.1149
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 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2115,7 +2115,7 @@ setTimeout(async function () {
|
|
|
2115
2115
|
|
|
2116
2116
|
const fix_date_modified = async function () {
|
|
2117
2117
|
const app_id = 'prj3937cb6f9a31c8c7dea25055bba845b1';
|
|
2118
|
-
const ret = await db_module.find_app_couch_query(app_id, { selector: { docType: '
|
|
2118
|
+
const ret = await db_module.find_app_couch_query(app_id, { selector: { docType: 'studio_drive' } });
|
|
2119
2119
|
|
|
2120
2120
|
for (doc of ret.docs) {
|
|
2121
2121
|
if (!doc.date_modified) {
|
|
@@ -2123,5 +2123,6 @@ const fix_date_modified = async function () {
|
|
|
2123
2123
|
}
|
|
2124
2124
|
}
|
|
2125
2125
|
|
|
2126
|
-
|
|
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);
|
|
2127
2128
|
};
|