@xuda.io/account_module 1.2.469 → 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.
Files changed (2) hide show
  1. package/index.mjs +1 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1287,9 +1287,9 @@ export const get_contacts = async function (req) {
1287
1287
  doc.card_background = get_contact_background(doc);
1288
1288
 
1289
1289
  // doc.telephone = `561-235-1675`;
1290
-
1291
1290
  // doc.notifications = 45;
1292
1291
  // doc.online = true;
1292
+
1293
1293
  doc.icon_pattern = get_contact_pattern(doc);
1294
1294
  }
1295
1295
  }
@@ -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 = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.469",
3
+ "version": "1.2.471",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {