@xuda.io/account_module 1.2.16 → 1.2.17

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 +1 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -284,7 +284,7 @@ exports.increment_account_usage = async function (req) {
284
284
  docs: couch_info_ret?.data?.doc_count,
285
285
  size: couch_info_ret?.data?.sizes?.active,
286
286
  };
287
- account_data.project_data_size += 0;
287
+ account_data.project_data_size += couch_info_ret?.data?.sizes?.active;
288
288
  }
289
289
 
290
290
  const usage_id = await _common.xuda_get_uuid("usage");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.16",
3
+ "version": "1.2.17",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {