@xuda.io/account_module 1.2.470 → 1.2.471
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 +0 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1386,15 +1386,11 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
1386
1386
|
throw new Error('contact already exist active or deleted');
|
|
1387
1387
|
}
|
|
1388
1388
|
|
|
1389
|
-
// let profile_picture;
|
|
1390
|
-
// let profile_avatar;
|
|
1391
1389
|
if (contact_uid) {
|
|
1392
1390
|
const account_ret = await get_account_name({ uid_query: contact_uid });
|
|
1393
1391
|
if (account_ret.code < 0) {
|
|
1394
1392
|
throw new Error(`account ${contact_uid} not found`);
|
|
1395
1393
|
}
|
|
1396
|
-
// profile_picture = account_ret.data.profile_picture;
|
|
1397
|
-
// profile_avatar = account_ret.data.profile_avatar;
|
|
1398
1394
|
}
|
|
1399
1395
|
const d = Date.now();
|
|
1400
1396
|
const doc = {
|