@xuda.io/account_module 1.2.1334 → 1.2.1335

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 +2 -2
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2783,9 +2783,9 @@ export const update_entity_account_profiles = async function (req, job_id, heade
2783
2783
  try {
2784
2784
  let doc = await db_module.get_app_couch_doc_native(app_id, _id);
2785
2785
 
2786
- switch (entity) {
2786
+ switch (doc.docType) {
2787
2787
  case 'ai_chat':
2788
- case 'ai_chat': {
2788
+ case 'contact': {
2789
2789
  doc.account_profiles = account_profiles;
2790
2790
  break;
2791
2791
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1334",
3
+ "version": "1.2.1335",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {