@xuda.io/drive_module 1.1.1113 → 1.1.1115

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 +5 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2391,6 +2391,7 @@ exports.update_drive_addons = async function (req, job_id) {
2391
2391
  drive_addons = app_obj_ret.data.drive_addons;
2392
2392
  }
2393
2393
  set_drive_addons(drive_addons);
2394
+ save_ret = await db_module.save_app_couch_doc(master_id, app_obj_ret.data);
2394
2395
  }
2395
2396
  if (drive_type === "user") {
2396
2397
  let account_ret = await db_module.get_couch_doc("xuda_accounts", uid);
@@ -2399,8 +2400,10 @@ exports.update_drive_addons = async function (req, job_id) {
2399
2400
  drive_addons = account_ret.data.drive_addons;
2400
2401
  }
2401
2402
  set_drive_addons(drive_addons);
2402
- save_ret ==
2403
- (await db_module.save_couch_doc("xuda_accounts", account_ret.data));
2403
+ save_ret = await db_module.save_couch_doc(
2404
+ "xuda_accounts",
2405
+ account_ret.data
2406
+ );
2404
2407
  }
2405
2408
  return save_ret;
2406
2409
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/drive_module",
3
- "version": "1.1.1113",
3
+ "version": "1.1.1115",
4
4
  "description": "Xuda Drive Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {