@xuda.io/account_module 1.2.2046 → 1.2.2048
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
|
@@ -44,7 +44,7 @@ const module_path = path.join(process.env.XUDA_HOME, 'cpi') + (!_conf.is_debug ?
|
|
|
44
44
|
const db_module = await import(`${module_path}/db_module/index.mjs`);
|
|
45
45
|
const ai_ms = await import(`${module_path}/ai_module/index_ms.mjs`);
|
|
46
46
|
const drive_ms = await import(`${module_path}/drive_module/index_ms.mjs`);
|
|
47
|
-
|
|
47
|
+
|
|
48
48
|
const team_ms = await import(`${module_path}/team_module/index_ms.mjs`);
|
|
49
49
|
const email_ms = await import(`${module_path}/email_module/index_ms.mjs`);
|
|
50
50
|
const marketplace_ms = await import(`${module_path}/marketplace_module/index_ms.mjs`);
|
|
@@ -3218,7 +3218,7 @@ export const create_account_profile = async function (req, job_id, headers) {
|
|
|
3218
3218
|
export const update_account_profile = async function (req, job_id, headers) {
|
|
3219
3219
|
const { uid, _id } = req;
|
|
3220
3220
|
const app_id = await get_account_default_project_id(uid);
|
|
3221
|
-
const account_profile_properties = ['profile_name', 'profile_signature', 'email_account_id', 'profile_picture', 'profile_avatar', 'profile_picture_obj', 'profile_avatar_obj', 'auto_respond', 'auto_respond_mode', 'auto_respond_agents', 'account_type'];
|
|
3221
|
+
const account_profile_properties = ['profile_name', 'profile_signature', 'email_account_id', 'profile_picture', 'profile_avatar', 'profile_picture_obj', 'profile_avatar_obj', 'auto_respond', 'auto_respond_mode', 'auto_respond_agents', 'account_type', 'active_ai_model'];
|
|
3222
3222
|
try {
|
|
3223
3223
|
let { data: account_profile_doc } = await db_module.get_app_couch_doc(app_id, _id);
|
|
3224
3224
|
|