@xuda.io/drive_module 1.1.657 → 1.1.658

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 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2386,6 +2386,8 @@ exports.update_drive_file_tags = async function (req) {
2386
2386
  is_archive: _conf.archive_drive_ext.includes(ext) ? true : false,
2387
2387
  drive_type,
2388
2388
  };
2389
+ } else {
2390
+ throw new Error("file not found");
2389
2391
  }
2390
2392
  }
2391
2393
  doc.date_modified = Date.now();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.657",
3
+ "version": "1.1.658",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {