@xuda.io/account_module 1.2.1590 → 1.2.1592
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 +3 -4
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1333,13 +1333,12 @@ export const get_contact_info = async function (uid, contact_doc, _id) {
|
|
|
1333
1333
|
doc.state = account_info_ret.data.state;
|
|
1334
1334
|
doc.zip = account_info_ret.data.zip;
|
|
1335
1335
|
doc.account_type = account_info_ret.data.account_type;
|
|
1336
|
-
doc.email = doc.email
|
|
1336
|
+
doc.email = doc.email;
|
|
1337
1337
|
if (doc.connection_stat === 3) {
|
|
1338
1338
|
doc.online = account_info_ret.data.online;
|
|
1339
1339
|
}
|
|
1340
1340
|
} else {
|
|
1341
|
-
doc.email = doc.email
|
|
1342
|
-
doc.emails = doc.email;
|
|
1341
|
+
doc.email = doc.email;
|
|
1343
1342
|
}
|
|
1344
1343
|
|
|
1345
1344
|
doc.interactions = 0;
|
|
@@ -3149,7 +3148,7 @@ export const archive_expire_ai_credits = async function () {
|
|
|
3149
3148
|
|
|
3150
3149
|
export const read_accounts_emails = async function () {
|
|
3151
3150
|
const email_module = await import(`${module_path}/email_module/index.mjs`);
|
|
3152
|
-
|
|
3151
|
+
|
|
3153
3152
|
const active_accounts = await db_module.find_couch_query('xuda_accounts', { selector: { stat: 3, docType: 'account' }, limit: 99999 });
|
|
3154
3153
|
for await (let account_doc of active_accounts.docs) {
|
|
3155
3154
|
email_module.refresh_mailboxes({ uid: account_doc._id });
|