@xuda.io/account_module 1.2.1190 → 1.2.1191

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 +1 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1925,6 +1925,7 @@ export const add_contact = async function (req, job_id, headers) {
1925
1925
  try {
1926
1926
  const { uid, email, name, stat, contact_uid, context, source, team_req_id, metadata = {} } = req;
1927
1927
  const contact_ret = await db_module.get_couch_view_raw('xuda_contacts', 'contacts_by_user_email_address', { key: [uid, email] });
1928
+ const account_profile_info = await account_module.get_active_account_profile_info(uid);
1928
1929
 
1929
1930
  if (contact_ret.rows.length) {
1930
1931
  throw new Error('contact already exist active or deleted');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1190",
3
+ "version": "1.2.1191",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {