@xuda.io/account_module 1.2.1347 → 1.2.1349
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1367,6 +1367,7 @@ export const get_pending_contact_out = async function (uid, _id) {
|
|
|
1367
1367
|
if (account_info_ret.code < 0) {
|
|
1368
1368
|
continue; // throw new Error(`account ${contact_uid} not found`);
|
|
1369
1369
|
}
|
|
1370
|
+
doc.account_type = account_info_ret.data.account_type;
|
|
1370
1371
|
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
1371
1372
|
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1372
1373
|
doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
|
|
@@ -2046,6 +2047,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2046
2047
|
};
|
|
2047
2048
|
|
|
2048
2049
|
export const get_contacts = async function (req) {
|
|
2050
|
+
debugger;
|
|
2049
2051
|
const { _id, uid, name, limit, skip, bookmark, search, filter_type = 'all', contact_id, profile_id } = req;
|
|
2050
2052
|
try {
|
|
2051
2053
|
const account_profile_info = await get_active_account_profile_info(uid, profile_id);
|