@xuda.io/account_module 1.2.1600 → 1.2.1601

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
@@ -1931,8 +1931,8 @@ setTimeout(async () => {
1931
1931
 
1932
1932
  export const add_contact = async function (req, job_id, headers) {
1933
1933
  try {
1934
- const { uid, email, name, stat, contact_uid, context, source, team_req_id, metadata = {} } = req;
1935
- const account_profile_info = await get_active_account_profile_info(uid);
1934
+ const { profile_id, uid, email, name, stat, contact_uid, context, source, team_req_id, metadata = {} } = req;
1935
+ const account_profile_info = await get_active_account_profile_info(uid, profile_id);
1936
1936
  const { account_profile_obj } = account_profile_info;
1937
1937
 
1938
1938
  const ai_module = await import(`${module_path}/ai_module/index.mjs`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1600",
3
+ "version": "1.2.1601",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {