@xuda.io/account_module 1.2.1229 → 1.2.1230
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 +2 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2699,7 +2699,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2699
2699
|
const get_user_account_profiles = async () => {
|
|
2700
2700
|
let account_profiles = [];
|
|
2701
2701
|
let selector = { docType: 'account_profile', stat: 3, uid: uid };
|
|
2702
|
-
let ret = await db_module.
|
|
2702
|
+
let ret = await db_module.find_app_couch_query('xuda_team', { selector });
|
|
2703
2703
|
for (const req_obj of ret.docs) {
|
|
2704
2704
|
const account_info_ret = await get_account_name({ uid_query: req_obj.team_req_to_uid });
|
|
2705
2705
|
const info = await await get_contact_info(uid, account_info_ret.data);
|
|
@@ -2720,7 +2720,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2720
2720
|
|
|
2721
2721
|
doc.online = await get_online();
|
|
2722
2722
|
|
|
2723
|
-
doc.border = account_info_ret.data.active_account_profile_id === doc._id ? 'yellow' : ''; //'#1a3557';
|
|
2723
|
+
// doc.border = account_info_ret.data.active_account_profile_id === doc._id ? 'yellow' : ''; //'#1a3557';
|
|
2724
2724
|
// doc.border = stringToColour(doc.shared_from_uid || doc.uid);
|
|
2725
2725
|
|
|
2726
2726
|
const chats_ret = await ai_module.get_ai_chats({ uid, reference_id: doc._id });
|