@xuda.io/account_module 1.2.1413 → 1.2.1414
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 +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2080,7 +2080,7 @@ const set_account_profile_picture = async function (uid, account_uid) {
|
|
|
2080
2080
|
|
|
2081
2081
|
await update_account_profile_picture_status(account_uid, 2);
|
|
2082
2082
|
if (!account_info.profile_picture) {
|
|
2083
|
-
const file_ret = await ai_module.get_profile_picture(uid, account_info.account_type, name, { email, context, metadata, account_info }, account_profile_info, job_id, headers);
|
|
2083
|
+
const file_ret = await ai_module.get_profile_picture(uid, account_info.account_type, name, { email: account_info.email, context, metadata, account_info }, account_profile_info, job_id, headers);
|
|
2084
2084
|
|
|
2085
2085
|
let { code: account_code, data: account_obj } = await db_module.get_couch_doc('xuda_accounts', account_uid);
|
|
2086
2086
|
let account_info = account_obj.account_info;
|