@xuda.io/account_module 1.2.2204 → 1.2.2206
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 -2
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -57,6 +57,7 @@ const drive_msa = await import(`${module_path}/drive_module/index_msa.mjs`);
|
|
|
57
57
|
const email_msa = await import(`${module_path}/email_module/index_msa.mjs`);
|
|
58
58
|
const logs_msa = await import(`${module_path}/logs_module/index_msa.mjs`);
|
|
59
59
|
const ai_msa = await import(`${module_path}/ai_module/index_msa.mjs`);
|
|
60
|
+
const notification_msa = await import(`${module_path}/notification_module/index_msa.mjs`);
|
|
60
61
|
|
|
61
62
|
export const update_account_info = async function (req, job_id, headers) {
|
|
62
63
|
const { uid } = req;
|
|
@@ -1793,12 +1794,12 @@ export const onboarding_completed = async function (req, job_id, headers) {
|
|
|
1793
1794
|
account_doc.isBoarded = true;
|
|
1794
1795
|
const save_ret = await db_module.save_couch_doc('xuda_accounts', account_doc);
|
|
1795
1796
|
|
|
1796
|
-
|
|
1797
|
+
notification_msa.submit_notification({
|
|
1797
1798
|
type: 'account',
|
|
1798
1799
|
app_id: null,
|
|
1799
1800
|
uid_arr: [uid],
|
|
1800
1801
|
topic: 'welcome_aboard',
|
|
1801
|
-
params,
|
|
1802
|
+
params: {},
|
|
1802
1803
|
ref: null,
|
|
1803
1804
|
email: null,
|
|
1804
1805
|
});
|