@xuda.io/account_module 1.2.1441 → 1.2.1442
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2137,7 +2137,8 @@ const set_account_profile_picture = async function (uid, account_uid, metadata,
|
|
|
2137
2137
|
|
|
2138
2138
|
const file_ret = await ai_module.get_profile_avatar(profile_picture, uid, '', account_profile_info, account_info.account_type, 'account', account_uid, { bio, country, mainCategory, subCategory }, business_size, name, account_info.email, job_id, headers);
|
|
2139
2139
|
|
|
2140
|
-
let { code: account_code, data:
|
|
2140
|
+
let { code: account_code, data: account_obj2 } = await db_module.get_couch_doc('xuda_accounts', account_uid);
|
|
2141
|
+
contact_obj = contact_obj2;
|
|
2141
2142
|
let account_info = account_obj.account_info;
|
|
2142
2143
|
|
|
2143
2144
|
account_info.profile_avatar_obj = file_ret;
|