@xuda.io/account_module 1.2.1346 → 1.2.1348
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
|
@@ -45,7 +45,7 @@ const _utils = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi
|
|
|
45
45
|
// Module Paths
|
|
46
46
|
const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
|
|
47
47
|
const db_module = await import(`${module_path}/db_module/index.mjs`);
|
|
48
|
-
const jobs_module = await import(`${module_path}/jobs_module/index.mjs`);
|
|
48
|
+
// const jobs_module = await import(`${module_path}/jobs_module/index.mjs`);
|
|
49
49
|
|
|
50
50
|
export const update_account_info = async function (req, job_id, headers) {
|
|
51
51
|
const marketplace_module = await import(`${module_path}/marketplace_module/index.mjs`);
|
|
@@ -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}`;
|
|
@@ -1397,6 +1398,7 @@ export const get_pending_contact_in = async function (uid, _id) {
|
|
|
1397
1398
|
if (account_info_ret.code < 0) {
|
|
1398
1399
|
continue; // throw new Error(`account ${contact_uid} not found`);
|
|
1399
1400
|
}
|
|
1401
|
+
doc.account_type = account_info_ret.data.account_type;
|
|
1400
1402
|
doc.avatar_source = account_info_ret.data.avatar_source;
|
|
1401
1403
|
doc.profile_avatar = account_info_ret.data.profile_avatar;
|
|
1402
1404
|
doc.name = `${account_info_ret.data.first_name} ${account_info_ret.data.last_name}`;
|