@xuda.io/account_module 1.2.1586 → 1.2.1588

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 +3 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -3148,8 +3148,10 @@ export const archive_expire_ai_credits = async function () {
3148
3148
  };
3149
3149
 
3150
3150
  export const read_accounts_emails = async function () {
3151
+ const email_module = await import(`${module_path}/email_module/index.mjs`);
3152
+
3151
3153
  const active_accounts = await db_module.find_couch_query('xuda_accounts', { selector: { stat: 3, docType: 'account', membership_plan: 'free' }, limit: 99999 });
3152
3154
  for await (let account_doc of active_accounts.docs) {
3153
- refresh_mailboxes({ uid: account_doc._id });
3155
+ email_module.refresh_mailboxes({ uid: account_doc._id });
3154
3156
  }
3155
3157
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.1586",
3
+ "version": "1.2.1588",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {