@xuda.io/account_module 1.2.1545 → 1.2.1547
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 +2 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1900,6 +1900,7 @@ setTimeout(async () => {
|
|
|
1900
1900
|
|
|
1901
1901
|
export const add_contact = async function (req, job_id, headers) {
|
|
1902
1902
|
try {
|
|
1903
|
+
debugger;
|
|
1903
1904
|
const { uid, email, name, stat, contact_uid, context, source, team_req_id, metadata = {} } = req;
|
|
1904
1905
|
const account_profile_info = await get_active_account_profile_info(uid);
|
|
1905
1906
|
const { account_profile_obj } = account_profile_info;
|
|
@@ -1929,7 +1930,7 @@ export const add_contact = async function (req, job_id, headers) {
|
|
|
1929
1930
|
let account_type;
|
|
1930
1931
|
if (contact_uid) {
|
|
1931
1932
|
let { code: account_code, data: account_obj } = await db_module.get_couch_doc('xuda_accounts', contact_uid);
|
|
1932
|
-
account_info = account_obj.account_info;
|
|
1933
|
+
// account_info = account_obj.account_info;
|
|
1933
1934
|
// account_info_ret = await get_account_name({ uid_query: contact_uid });
|
|
1934
1935
|
if (account_code < 0) {
|
|
1935
1936
|
throw new Error(`account ${contact_uid} not found`);
|