@xuda.io/account_module 1.2.1372 → 1.2.1373
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
|
@@ -2027,7 +2027,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
2027
2027
|
const save_ret = await save_contact(uid, doc);
|
|
2028
2028
|
|
|
2029
2029
|
if (!account_info_ret?.data?.profile_avatar) {
|
|
2030
|
-
|
|
2030
|
+
|
|
2031
2031
|
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
2032
2032
|
if (account_info_ret?.data?.profile_avatar) {
|
|
2033
2033
|
ai_module.create_profile_avatar({ url: account_info_ret.data.profile_picture, uid, account_obj: { _id: contact_uid, account_info: account_info_ret.data }, account_profile_info }, job_id, headers);
|