@xuda.io/account_module 1.2.1416 → 1.2.1418
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1996,7 +1996,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
1996
1996
|
// // account_info.profile_picture = profile_picture;
|
|
1997
1997
|
// const account_save_ret = await db_module.save_couch_doc('xuda_accounts', account_obj);
|
|
1998
1998
|
// }
|
|
1999
|
-
set_account_profile_picture(uid, contact_uid);
|
|
1999
|
+
set_account_profile_picture(uid, contact_uid, metadata, job_id, headers);
|
|
2000
2000
|
} else {
|
|
2001
2001
|
// contact without use account
|
|
2002
2002
|
|
|
@@ -2147,7 +2147,7 @@ const set_account_profile_picture = async function (uid, account_uid, metadata,
|
|
|
2147
2147
|
}
|
|
2148
2148
|
};
|
|
2149
2149
|
|
|
2150
|
-
const set_contact_profile_picture = async function (uid, contact_id) {
|
|
2150
|
+
const set_contact_profile_picture = async function (uid, contact_id, metadata, job_id, headers) {
|
|
2151
2151
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
2152
2152
|
|
|
2153
2153
|
await update_contact_profile_picture_status(uid, contact_id, 1);
|