@xuda.io/account_module 1.2.2086 → 1.2.2088

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 +7 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3258,7 +3258,7 @@ export const update_entity_account_profiles = async function (req, job_id, heade
3258
3258
  }
3259
3259
 
3260
3260
  let doc = await db_module.get_app_couch_doc_native(app_id, _id);
3261
-
3261
+ debugger;
3262
3262
  switch (doc.docType) {
3263
3263
  case 'chat_conversation':
3264
3264
  case 'contact': {
@@ -3266,10 +3266,12 @@ export const update_entity_account_profiles = async function (req, job_id, heade
3266
3266
  break;
3267
3267
  }
3268
3268
 
3269
- case 'mini_app':
3270
- case 'ai_agent': {
3271
- doc.studio_meta.account_profiles = account_profiles;
3272
- break;
3269
+ case 'studio': {
3270
+ //mini_app //ai_agent
3271
+ if (doc.studio_meta.miniApp) {
3272
+ doc.studio_meta.account_profiles = account_profiles;
3273
+ break;
3274
+ }
3273
3275
  }
3274
3276
 
3275
3277
  default:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2086",
3
+ "version": "1.2.2088",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {