@xuda.io/account_module 1.2.1707 → 1.2.1708
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 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2154,6 +2154,11 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2154
2154
|
// }
|
|
2155
2155
|
// }
|
|
2156
2156
|
}
|
|
2157
|
+
|
|
2158
|
+
if (account_type === 'personal') {
|
|
2159
|
+
contact_obj.person_info = await ai_module.get_person_info(uid, contact_obj.name, contact_obj.email, account_profile_info);
|
|
2160
|
+
save_xuda_cache(uid, 'contact', contact_obj.domain, null, contact_obj);
|
|
2161
|
+
}
|
|
2157
2162
|
} else {
|
|
2158
2163
|
if (!contact_obj.name) {
|
|
2159
2164
|
contact_obj.name = '';
|