@xuda.io/account_module 1.2.1355 → 1.2.1357
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
|
@@ -45,7 +45,6 @@ const _utils = await import(path.join(process.env.XUDA_HOME, 'common', 'xuda-cpi
|
|
|
45
45
|
// Module Paths
|
|
46
46
|
const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ? '/node_modules/@xuda.io' : '');
|
|
47
47
|
const db_module = await import(`${module_path}/db_module/index.mjs`);
|
|
48
|
-
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
49
48
|
|
|
50
49
|
export const update_account_info = async function (req, job_id, headers) {
|
|
51
50
|
const marketplace_module = await import(`${module_path}/marketplace_module/index.mjs`);
|
|
@@ -1950,6 +1949,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
1950
1949
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
1951
1950
|
const { account_profile_obj } = account_profile_info;
|
|
1952
1951
|
|
|
1952
|
+
const ai_module = await import(`${module_path}/ai_module/index.mjs`);
|
|
1953
1953
|
// const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_user_email_address', { key: [account_profile_info.uid, email] });
|
|
1954
1954
|
|
|
1955
1955
|
// if (contact_ret.rows.length) {
|