@xuda.io/account_module 1.2.1334 → 1.2.1336
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 +8 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -2783,9 +2783,15 @@ 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 (
|
|
2786
|
+
switch (doc.docType) {
|
|
2787
2787
|
case 'ai_chat':
|
|
2788
|
-
case '
|
|
2788
|
+
case 'contact': {
|
|
2789
|
+
doc.account_profiles = account_profiles;
|
|
2790
|
+
break;
|
|
2791
|
+
}
|
|
2792
|
+
|
|
2793
|
+
case 'mini_app':
|
|
2794
|
+
case 'ai_agent': {
|
|
2789
2795
|
doc.account_profiles = account_profiles;
|
|
2790
2796
|
break;
|
|
2791
2797
|
}
|