@xuda.io/account_module 1.2.791 → 1.2.793

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 +6 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -591,7 +591,7 @@ export const get_account_name = async function (req) {
591
591
  _id: data.data._id,
592
592
  first_name,
593
593
  last_name,
594
- emails: email,
594
+ email,
595
595
  phone_number,
596
596
  profile_picture,
597
597
  profile_avatar,
@@ -614,7 +614,7 @@ export const get_account_name = async function (req) {
614
614
  auto_respond,
615
615
  auto_respond_mode,
616
616
  auto_respond_agents,
617
- email: email?.[0] || '',
617
+ // email,// email?.[0] || '',
618
618
  avatar_source,
619
619
  };
620
620
  }
@@ -1252,6 +1252,10 @@ const get_contact_pattern = async function (doc) {
1252
1252
  ret = `fictional-avatar-pattern.png`;
1253
1253
  break;
1254
1254
 
1255
+ case 'ai profile':
1256
+ ret = `fictional-avatar-pattern.png`;
1257
+ break;
1258
+
1255
1259
  default:
1256
1260
  ret = `my-pattern.png`;
1257
1261
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.791",
3
+ "version": "1.2.793",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {