@xuda.io/account_module 1.2.440 → 1.2.442

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 +2 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1225,6 +1225,8 @@ export const get_contacts = async function (req) {
1225
1225
  continue; // throw new Error(`account ${contact_uid} not found`);
1226
1226
  }
1227
1227
  doc.profile_avatar = account_ret.data.profile_avatar;
1228
+ doc.card_background = `linear-gradient(145deg,#60496e8c 0%,#71C4FF44 100%)`;
1229
+ doc.icon_pattern = ``;
1228
1230
  }
1229
1231
  }
1230
1232
 
@@ -1253,7 +1255,6 @@ export const get_contacts = async function (req) {
1253
1255
  }
1254
1256
 
1255
1257
  ////// FROM
1256
-
1257
1258
  const requests_from_res = await db_module.find_couch_query('xuda_team', { selector: { docType: 'team_request', access_type: 'contact', team_req_stat: 2, team_req_to_uid: uid }, fields: ['_id', 'team_req_date', 'sender_account_info.email', 'team_req_from_uid'] });
1258
1259
 
1259
1260
  for await (let e of requests_from_res.docs) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.440",
3
+ "version": "1.2.442",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {