@xuda.io/account_module 1.2.126 → 1.2.127

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 +3 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -93,7 +93,9 @@ exports.update_account_info = async function (req) {
93
93
  delete account_obj.account_info.uid;
94
94
 
95
95
  if (!account_obj.account_project_id) {
96
- account_obj.account_project_id;
96
+ const app_module = require(`${module_path}/app_module`);
97
+ const ret = await app_module.create_project({ app_uId: uid });
98
+ // account_obj.account_project_id;
97
99
  }
98
100
 
99
101
  const ret2 = await db_module.save_couch_doc('xuda_accounts', account_obj);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.126",
3
+ "version": "1.2.127",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {