@xuda.io/drive_module 1.1.1145 → 1.1.1146

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.js +6 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2117,4 +2117,10 @@ 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
2119
  console.log('fix_date_modified', ret);
2120
+
2121
+ for (doc of ret.docs) {
2122
+ if (!doc.date_modified) {
2123
+ doc.date_modified = 0;
2124
+ }
2125
+ }
2120
2126
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1145",
3
+ "version": "1.1.1146",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {