@xuda.io/account_module 1.2.1422 → 1.2.1424

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
@@ -2176,7 +2176,8 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
2176
2176
  // get business info
2177
2177
 
2178
2178
  if (!contact_obj.profile_avatar) {
2179
- let business_size;
2179
+ const business_info = await get_business_info(uid, contact_obj.name, contact_obj.email, account_profile_info);
2180
+ const { business_size, business_category, business_sub_category, business_country } = business_info;
2180
2181
 
2181
2182
  // switch (account_obj.membership_plan) {
2182
2183
  // case 'free': {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1422",
3
+ "version": "1.2.1424",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {