@xuda.io/account_module 1.2.751 → 1.2.752

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 +1 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1479,8 +1479,7 @@ export const get_pending_share_contact_in = async function (uid, _id) {
1479
1479
  };
1480
1480
 
1481
1481
  const get_user_contact = async function (uid, uid_query) {
1482
- const my_contact_ret = await get_account_name({ uid_query });
1483
- const my_account_info = my_contact_ret.data;
1482
+ const my_account_info = await get_account_name({ uid_query }).data;
1484
1483
  let my_contact_doc = { docType: 'contact', date_created: Date.now(), email: [my_account_info.email], name: `${my_account_info.first_name} ${my_account_info.last_name}`, my_contact: uid === uid_query, contact_uid: uid_query };
1485
1484
  my_contact_doc.profile_avatar = my_account_info.profile_avatar;
1486
1485
  my_contact_doc.card_background = get_contact_background(my_contact_doc);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.751",
3
+ "version": "1.2.752",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {