@xuda.io/account_module 1.2.1426 → 1.2.1427
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 +3 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2178,8 +2178,9 @@ const set_contact_profile_picture = async function (uid, contact_id, metadata, j
|
|
|
2178
2178
|
if (!contact_obj.profile_avatar) {
|
|
2179
2179
|
const business_info = await get_business_info(uid, contact_obj.name, contact_obj.email, account_profile_info);
|
|
2180
2180
|
const { business_size, business_category, business_sub_category, business_country } = business_info;
|
|
2181
|
-
contact_obj.mainCategory =
|
|
2182
|
-
contact_obj.subCategory =
|
|
2181
|
+
contact_obj.mainCategory = business_category;
|
|
2182
|
+
contact_obj.subCategory = business_sub_category;
|
|
2183
|
+
contact_obj.business_size = business_size;
|
|
2183
2184
|
contact_obj.country = business_country;
|
|
2184
2185
|
|
|
2185
2186
|
// const { bio, country, mainCategory, subCategory } = account_info;
|