@xuda.io/account_module 1.2.1128 → 1.2.1130
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
|
@@ -2452,7 +2452,7 @@ export const create_account_profile = async function (req, job_id, headers) {
|
|
|
2452
2452
|
|
|
2453
2453
|
const d = Date.now();
|
|
2454
2454
|
const doc = {
|
|
2455
|
-
_id: await _common.xuda_get_uuid('
|
|
2455
|
+
_id: await _common.xuda_get_uuid('account_profile'),
|
|
2456
2456
|
stat: 3,
|
|
2457
2457
|
date_created_ts: d,
|
|
2458
2458
|
ts: d,
|
|
@@ -2558,7 +2558,7 @@ export const get_account_profile_info = async function (uid, contact_profile_doc
|
|
|
2558
2558
|
doc.notifications = 0;
|
|
2559
2559
|
|
|
2560
2560
|
let uid_query = uid;
|
|
2561
|
-
if (doc.
|
|
2561
|
+
if (doc.shared_from_uid) uid_query = doc.shared_from_uid;
|
|
2562
2562
|
const account_info_ret = await get_account_name({ uid_query });
|
|
2563
2563
|
if (account_info_ret.code < 0) {
|
|
2564
2564
|
return;
|