@xuda.io/ai_module 1.1.5498 → 1.1.5500
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 +3 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -5116,7 +5116,8 @@ const add_conversation_item = async function (uid, profile_id, conversation_id,
|
|
|
5116
5116
|
const account_profile_info = await get_active_account_profile_info(uid, profile_id);
|
|
5117
5117
|
|
|
5118
5118
|
try {
|
|
5119
|
-
let
|
|
5119
|
+
let contact_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, contact_id);
|
|
5120
|
+
const conversation_doc = await db_module.get_app_couch_doc_native(account_profile_info.app_id, conversation_id);
|
|
5120
5121
|
|
|
5121
5122
|
let item;
|
|
5122
5123
|
try {
|
|
@@ -5129,13 +5130,11 @@ const add_conversation_item = async function (uid, profile_id, conversation_id,
|
|
|
5129
5130
|
},
|
|
5130
5131
|
],
|
|
5131
5132
|
});
|
|
5132
|
-
report_ai_status('conversations');
|
|
5133
5133
|
} catch (err) {
|
|
5134
|
-
report_ai_status('conversations', err);
|
|
5135
5134
|
throw err;
|
|
5136
5135
|
}
|
|
5137
5136
|
} catch (err) {
|
|
5138
|
-
|
|
5137
|
+
throw err;
|
|
5139
5138
|
}
|
|
5140
5139
|
};
|
|
5141
5140
|
|