@xuda.io/account_module 1.2.1391 → 1.2.1392

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 +13 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2089,7 +2089,19 @@ const set_account_profile_picture = async function (uid, contact_uid) {
2089
2089
  }
2090
2090
 
2091
2091
  if (!account_info.profile_avatar) {
2092
- const file_ret = await ai_module.get_profile_avatar(uid, account_type, name, { email, context, metadata, account_info }, account_profile_info, job_id, headers);
2092
+ let business_size;
2093
+
2094
+ switch (key) {
2095
+ case value:
2096
+ break;
2097
+
2098
+ default:
2099
+ break;
2100
+ }
2101
+
2102
+ const name = '';
2103
+
2104
+ const file_ret = await ai_module.get_profile_avatar(profile_picture, uid, '', account_profile_info, account_info.account_type, 'account', contact_uid, {}, business_size, name, account_info.email, job_id, headers);
2093
2105
 
2094
2106
  let { code: account_code, data: account_obj } = await db_module.get_couch_doc('xuda_accounts', contact_uid);
2095
2107
  let account_info = account_obj.account_info;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1391",
3
+ "version": "1.2.1392",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {