@xuda.io/notification_module 1.1.34 → 1.1.35
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.js +21 -21
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -657,26 +657,26 @@ exports.get_system_notifications = async function (req) {
|
|
|
657
657
|
};
|
|
658
658
|
|
|
659
659
|
setTimeout(async () => {
|
|
660
|
-
const app_id = "vps4d6ec68e01d97ef65a8bd86088b26ca2",
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
const aa = await module.exports.submit_notification({
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
});
|
|
660
|
+
// const app_id = "vps4d6ec68e01d97ef65a8bd86088b26ca2",
|
|
661
|
+
// uid = "341cf2d32991a68e4d8aaba6c16e15cc",
|
|
662
|
+
// ip = "192.11.22.333",
|
|
663
|
+
// name = "Boaz Avrahami";
|
|
664
|
+
|
|
665
|
+
// const aa = await module.exports.submit_notification({
|
|
666
|
+
// type: "deploy",
|
|
667
|
+
// app_id: app_id,
|
|
668
|
+
// uid_arr: [uid],
|
|
669
|
+
// topic: "welcome_aboard_vps",
|
|
670
|
+
// params: {
|
|
671
|
+
// name: name,
|
|
672
|
+
// ip: ip,
|
|
673
|
+
// dashboard_url: `https://xuda.io/dashboard/project/${app_id}/admin/overview`,
|
|
674
|
+
// dashboard_ssh_url: `https://xuda.io/dashboard/project/${app_id}/admin/overview`,
|
|
675
|
+
// dashboard_ssh_assign_url: `https://xuda.io/dashboard/settings/ssh_keys`,
|
|
676
|
+
// support_url: `https://xuda.io/schedule/sales?topic=Sales&subtopic=General+Inquiries`,
|
|
677
|
+
// },
|
|
678
|
+
// ref: null,
|
|
679
|
+
// email: null,
|
|
680
|
+
// });
|
|
681
681
|
console.log(aa);
|
|
682
682
|
}, 2000);
|