@xuda.io/account_module 1.2.1195 → 1.2.1196

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.mjs +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -588,7 +588,7 @@ export const get_active_account_profile_info = async function (uid) {
588
588
  }
589
589
  const app_id = await get_account_default_project_id(account_profile_obj.shared_from_uid || account_profile_obj.uid);
590
590
 
591
- return { account_profile_id: active_account_profile_id, app_id, is_main: acc_obj.account_info.active_account_profile_id === acc_obj.account_profile_id, account_profile_obj };
591
+ return { uid: account_profile_obj.shared_from_uid || uid, account_profile_id: active_account_profile_id, app_id, is_main: acc_obj.account_info.active_account_profile_id === acc_obj.account_profile_id, account_profile_obj };
592
592
  };
593
593
 
594
594
  export const get_account_name = async function (req) {
@@ -2011,7 +2011,7 @@ export const add_contact = async function (req, job_id, headers) {
2011
2011
  export const update_contact = async function (req) {
2012
2012
  const { uid, email, contact_uid, stat, team_req_id } = req;
2013
2013
 
2014
- const account_profile_info = await account_module.get_active_account_profile_info(uid);
2014
+ const account_profile_info = await get_active_account_profile_info(uid);
2015
2015
 
2016
2016
  var contact_ret;
2017
2017
  if (email) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1195",
3
+ "version": "1.2.1196",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {