@xuda.io/account_module 1.2.1381 → 1.2.1382

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1980,10 +1980,11 @@ export const add_contact = async function (req, job_id, headers) {
1980
1980
  let profile_picture, profile_picture_obj;
1981
1981
  let profile_avatar, profile_avatar_obj;
1982
1982
  let account_info_ret;
1983
+ let account_info;
1983
1984
  let account_type;
1984
1985
  if (contact_uid) {
1985
1986
  let { code: account_code, data: account_obj } = await db_module.get_couch_doc('xuda_accounts', contact_uid);
1986
-
1987
+ account_info = account_obj.account_info;
1987
1988
  // account_info_ret = await get_account_name({ uid_query: contact_uid });
1988
1989
  if (account_code < 0) {
1989
1990
  throw new Error(`account ${contact_uid} not found`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1381",
3
+ "version": "1.2.1382",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {