@xuda.io/notification_module 1.1.27 → 1.1.29

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.js +5 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -106,6 +106,11 @@ exports.submit_notification = async function (
106
106
  // if (!uid) {
107
107
  // return { code: -1, data: "error: uid is mandatory field" };
108
108
  // }
109
+
110
+ const notification_categories = await import(
111
+ path.join(process.env.XUDA_HOME, "notification_templates.mjs")
112
+ );
113
+
109
114
  var icon = "https://dev.xuda.io/dist/images/xuda_ico.png";
110
115
  if (app_id) {
111
116
  const app_id_reference = await _common.get_project_app_id(app_id, true);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/notification_module",
3
- "version": "1.1.27",
3
+ "version": "1.1.29",
4
4
  "description": "Xuda Notification Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {