@xuda.io/account_module 1.2.2202 → 1.2.2204

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 +10 -0
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -1793,6 +1793,16 @@ export const onboarding_completed = async function (req, job_id, headers) {
1793
1793
  account_doc.isBoarded = true;
1794
1794
  const save_ret = await db_module.save_couch_doc('xuda_accounts', account_doc);
1795
1795
 
1796
+ return notification_msa.submit_notification({
1797
+ type: 'account',
1798
+ app_id: null,
1799
+ uid_arr: [uid],
1800
+ topic: 'welcome_aboard',
1801
+ params,
1802
+ ref: null,
1803
+ email: null,
1804
+ });
1805
+
1796
1806
  return save_ret;
1797
1807
  } catch (err) {
1798
1808
  return { code: -44, data: err.message };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/account_module",
3
- "version": "1.2.2202",
3
+ "version": "1.2.2204",
4
4
  "description": "Xuda Account Server Module",
5
5
  "main": "index.mjs",
6
6
  "dependencies": {