@xuda.io/notification_module 1.1.28 → 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.
- package/index.js +3 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -107,10 +107,9 @@ exports.submit_notification = async function (
|
|
|
107
107
|
// return { code: -1, data: "error: uid is mandatory field" };
|
|
108
108
|
// }
|
|
109
109
|
|
|
110
|
-
const notification_categories=await import(
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
110
|
+
const notification_categories = await import(
|
|
111
|
+
path.join(process.env.XUDA_HOME, "notification_templates.mjs")
|
|
112
|
+
);
|
|
114
113
|
|
|
115
114
|
var icon = "https://dev.xuda.io/dist/images/xuda_ico.png";
|
|
116
115
|
if (app_id) {
|