@xuda.io/account_module 1.2.1592 → 1.2.1593
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 +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -3151,6 +3151,7 @@ export const read_accounts_emails = async function () {
|
|
|
3151
3151
|
|
|
3152
3152
|
const active_accounts = await db_module.find_couch_query('xuda_accounts', { selector: { stat: 3, docType: 'account' }, limit: 99999 });
|
|
3153
3153
|
for await (let account_doc of active_accounts.docs) {
|
|
3154
|
+
if (!account_doc?.account_info?.active_account_profile_id) continue;
|
|
3154
3155
|
email_module.refresh_mailboxes({ uid: account_doc._id });
|
|
3155
3156
|
}
|
|
3156
3157
|
};
|