@xuda.io/account_module 1.2.2230 → 1.2.2232

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 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2067,6 +2067,9 @@ export const add_contact = async function (req, job_id, headers) {
2067
2067
  contact_obj.name = await ai_ms.get_name_from_email_addr(uid, contact_obj.email, account_profile_info);
2068
2068
  }
2069
2069
  }
2070
+
2071
+ const conversation_obj = await ai_ms.create_openai_conversation();
2072
+ contact_obj.contact_reference_conversation_id = conversation_obj.id;
2070
2073
  } else {
2071
2074
  if (!contact_obj.name) {
2072
2075
  contact_obj.name = '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2230",
3
+ "version": "1.2.2232",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {