@xuda.io/account_module 1.2.1536 → 1.2.1538

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 -6
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -24,13 +24,13 @@ const account_info_properties = [
24
24
  'mainCategory',
25
25
  'subCategory',
26
26
  'profile_picture',
27
+ 'profile_picture_obj',
27
28
  'username',
28
29
  'website',
29
- // 'auto_respond',
30
- // 'auto_respond_mode',
31
- // 'auto_respond_agents',
32
30
  'profile_avatar_stat',
33
31
  'active_account_profile_id',
32
+ 'profile_avatar',
33
+ 'profile_avatar_obj',
34
34
  ];
35
35
 
36
36
  global._conf = (
@@ -154,9 +154,9 @@ export const update_account_info = async function (req, job_id, headers) {
154
154
 
155
155
  account_obj.account_info.full_name = `${account_obj.account_info.first_name} ${account_obj.account_info.last_name}`;
156
156
 
157
- if (account_info_changes_arr.includes('profile_picture') || account_info_changes_arr.includes('profile_avatar_stat')) {
158
- account_obj.account_info['profile_avatar'] = '';
159
- }
157
+ // if (account_info_changes_arr.includes('profile_picture') || account_info_changes_arr.includes('profile_avatar_stat')) {
158
+ // account_obj.account_info['profile_avatar'] = '';
159
+ // }
160
160
 
161
161
  //clean up received from req
162
162
  delete account_obj.account_info.gtp_token;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1536",
3
+ "version": "1.2.1538",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {