@xuda.io/account_module 1.2.2216 → 1.2.2217
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 +16 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3231,7 +3231,22 @@ export const create_account_profile = async function (req, job_id, headers) {
|
|
|
3231
3231
|
export const update_account_profile = async function (req, job_id, headers) {
|
|
3232
3232
|
const { uid, _id } = req;
|
|
3233
3233
|
const app_id = await get_account_default_project_id(uid);
|
|
3234
|
-
const account_profile_properties = [
|
|
3234
|
+
const account_profile_properties = [
|
|
3235
|
+
'profile_name',
|
|
3236
|
+
'profile_signature',
|
|
3237
|
+
'email_account_id',
|
|
3238
|
+
'profile_picture',
|
|
3239
|
+
'profile_avatar',
|
|
3240
|
+
'profile_picture_obj',
|
|
3241
|
+
'profile_avatar_obj',
|
|
3242
|
+
'auto_respond',
|
|
3243
|
+
'auto_respond_mode',
|
|
3244
|
+
'auto_respond_agents',
|
|
3245
|
+
'account_type',
|
|
3246
|
+
'active_ai_model',
|
|
3247
|
+
'ai_models',
|
|
3248
|
+
'active_agents',
|
|
3249
|
+
];
|
|
3235
3250
|
try {
|
|
3236
3251
|
let { data: account_profile_doc } = await db_module.get_app_couch_doc(app_id, _id);
|
|
3237
3252
|
|