@xuda.io/account_module 1.2.1123 → 1.2.1124

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2554,7 +2554,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
2554
2554
  doc.notifications = 0;
2555
2555
 
2556
2556
  let uid_query = uid;
2557
- if (doc.pending) uid_query = doc.shared_from_uid;
2557
+ if (doc.shared_from_uid) uid_query = doc.shared_from_uid;
2558
2558
  const account_info_ret = await get_account_name({ uid_query });
2559
2559
  if (account_info_ret.code < 0) {
2560
2560
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1123",
3
+ "version": "1.2.1124",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {