@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.
- package/index.mjs +5 -3
- 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 (
|
|
2095
|
-
case
|
|
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
|
|