@xuda.io/drive_module 1.1.1106 → 1.1.1108

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 +9 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2390,7 +2390,15 @@ exports.update_drive_addons = async function (req, job_id) {
2390
2390
  if (app_obj_ret.data.drive_addons) {
2391
2391
  drive_addons = app_obj_ret.data.drive_addons;
2392
2392
  }
2393
- set_drive_addons();
2393
+ set_drive_addons(drive_addons);
2394
+ }
2395
+ if (drive_type === "user") {
2396
+ const master_id = await _common.get_project_app_id(app_id, true);
2397
+ var app_obj_ret = await db_module.get_app_obj(master_id);
2398
+ if (app_obj_ret.data.drive_addons) {
2399
+ drive_addons = app_obj_ret.data.drive_addons;
2400
+ }
2401
+ set_drive_addons(drive_addons);
2394
2402
  }
2395
2403
  };
2396
2404
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1106",
3
+ "version": "1.1.1108",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {