@xuda.io/account_module 1.2.363 → 1.2.364

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 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1254,7 +1254,7 @@ export const delete_contact = async function (req) {
1254
1254
  export const add_contact = async function (req, job_id, headers) {
1255
1255
  try {
1256
1256
  debugger;
1257
- const { uid, email, name, stat, contact_uid, req_id, context, source } = req;
1257
+ const { uid, email, name, stat, contact_uid, req_id, context, source, team_req_id } = req;
1258
1258
  const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_email_address', { key: [uid, email] });
1259
1259
 
1260
1260
  if (contact_ret.rows.length) {
@@ -1288,6 +1288,7 @@ export const add_contact = async function (req, job_id, headers) {
1288
1288
  context,
1289
1289
  headers,
1290
1290
  source,
1291
+ team_req_id,
1291
1292
  };
1292
1293
  const ret = await db_module.save_couch_doc('xuda_contacts', doc);
1293
1294
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.363",
3
+ "version": "1.2.364",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {