@xuda.io/account_module 1.2.1333 → 1.2.1334

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.
Files changed (2) hide show
  1. package/index.mjs +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2776,7 +2776,7 @@ export const update_account_profile = async function (req, job_id, headers) {
2776
2776
  };
2777
2777
 
2778
2778
  export const update_entity_account_profiles = async function (req, job_id, headers) {
2779
- const { uid, entity, _id } = req;
2779
+ const { uid, entity, _id, account_profiles } = req;
2780
2780
  const app_id = await account_module.get_account_default_project_id(uid);
2781
2781
 
2782
2782
  let save_ret;
@@ -2784,7 +2784,9 @@ export const update_entity_account_profiles = async function (req, job_id, heade
2784
2784
  let doc = await db_module.get_app_couch_doc_native(app_id, _id);
2785
2785
 
2786
2786
  switch (entity) {
2787
+ case 'ai_chat':
2787
2788
  case 'ai_chat': {
2789
+ doc.account_profiles = account_profiles;
2788
2790
  break;
2789
2791
  }
2790
2792
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1333",
3
+ "version": "1.2.1334",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {