@xuda.io/notification_module 1.1.47 → 1.1.49

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 +3 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -173,6 +173,8 @@ exports.submit_notification = async function (
173
173
  stat: 3,
174
174
  stat_ts: Date.now(),
175
175
  system,
176
+ topic,
177
+ params,
176
178
  };
177
179
 
178
180
  switch (delivery_method_item) {
@@ -424,6 +426,7 @@ exports.get_notifications = async function (req) {
424
426
 
425
427
  if (ret.docs) {
426
428
  for await (let doc of ret.docs) {
429
+ await module.exports.notifications_validation_fx(doc._id);
427
430
  }
428
431
  }
429
432
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/notification_module",
3
- "version": "1.1.47",
3
+ "version": "1.1.49",
4
4
  "description": "Xuda Notification Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {