@xuda.io/account_module 1.2.1070 → 1.2.1071
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 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2494,12 +2494,11 @@ export const get_pending_share_profile_in = async function (uid, _id) {
|
|
|
2494
2494
|
const requests_from_res = await db_module.find_couch_query('xuda_team', from_opt);
|
|
2495
2495
|
|
|
2496
2496
|
for await (let e of requests_from_res.docs) {
|
|
2497
|
-
|
|
2498
|
-
|
|
2499
|
-
delete doc.contact_mood_level;
|
|
2497
|
+
let doc = await db_module.get_couch_doc_native('xuda_accounts', e.share_item_id);
|
|
2498
|
+
|
|
2500
2499
|
doc.shared_from_uid = e.team_req_from_uid;
|
|
2501
2500
|
doc.pending = true;
|
|
2502
|
-
doc = await
|
|
2501
|
+
doc = await get_account_profile_info(uid, doc);
|
|
2503
2502
|
doc.team_req_id = e._id;
|
|
2504
2503
|
|
|
2505
2504
|
docs.push(doc);
|