@xuda.io/account_module 1.2.1393 → 1.2.1394

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 +5 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2091,11 +2091,13 @@ const set_account_profile_picture = async function (uid, contact_uid) {
2091
2091
  if (!account_info.profile_avatar) {
2092
2092
  let business_size;
2093
2093
 
2094
- switch (key) {
2095
- case value:
2094
+ switch (account_obj.membership_plan) {
2095
+ case 'free': {
2096
+ business_size = 'unknown';
2096
2097
  break;
2097
-
2098
+ }
2098
2099
  default:
2100
+ business_size = 'unknown';
2099
2101
  break;
2100
2102
  }
2101
2103
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1393",
3
+ "version": "1.2.1394",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {