@xuda.io/drive_module 1.1.1134 → 1.1.1135

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 +2 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -191,7 +191,8 @@ exports.get_drive_files = async function (req) {
191
191
  let ts = '';
192
192
  if (doc.date_modified && Date.now() - doc.date_modified < 4320 * 1000) {
193
193
  ts = '?ts=' + Date.now();
194
- } else if (app_obj.app_build_id) {
194
+ } else if (app_obj?.app_build_id) {
195
+ ts = '?ts=' + app_obj?.app_build_id;
195
196
  }
196
197
 
197
198
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1134",
3
+ "version": "1.1.1135",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {