@xuda.io/account_module 1.2.1116 → 1.2.1118
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.
- package/index.mjs +3 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2556,7 +2556,9 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2556
2556
|
doc = await db_module.get_couch_doc_native('xuda_accounts', _id);
|
|
2557
2557
|
}
|
|
2558
2558
|
doc.notifications = 0;
|
|
2559
|
-
|
|
2559
|
+
debugger;
|
|
2560
|
+
let uid_query = uid;
|
|
2561
|
+
if (pending) uid_query = shared_from_uid;
|
|
2560
2562
|
const account_info_ret = await get_account_name({ uid_query: uid });
|
|
2561
2563
|
if (account_info_ret.code < 0) {
|
|
2562
2564
|
return;
|