@xuda.io/account_module 1.2.2213 → 1.2.2215

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 -3
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1776,7 +1776,7 @@ export const get_user_card = async function (req) {
1776
1776
  export const onboarding_completed = async function (req, job_id, headers) {
1777
1777
  const { uid } = req;
1778
1778
  try {
1779
- // await update_account_info(req, job_id, headers);
1779
+ await update_account_info(req, job_id, headers);
1780
1780
 
1781
1781
  let account_doc = await db_module.get_couch_doc_native('xuda_accounts', uid);
1782
1782
 
@@ -1799,7 +1799,7 @@ export const onboarding_completed = async function (req, job_id, headers) {
1799
1799
  app_id: null,
1800
1800
  uid_arr: [uid],
1801
1801
  topic: 'welcome_aboard',
1802
- params: { name: account_doc.account_info.first_name, email: account_doc.account_info.email },
1802
+ params: { name: account_doc.account_info.first_name, email: account_doc.account_info.email, dashboard_url: 'https://xuda.ai/dashboard' },
1803
1803
  ref: null,
1804
1804
  email: null,
1805
1805
  });
@@ -3842,5 +3842,5 @@ const isLikelySpamEmail = async function (email) {
3842
3842
  };
3843
3843
  setTimeout(async () => {
3844
3844
  const uid = 'd39126e0e2c51ffbd1aad10709fc8335';
3845
- onboarding_completed({ uid });
3845
+ // onboarding_completed({ uid });
3846
3846
  }, 2000);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2213",
3
+ "version": "1.2.2215",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {