@xuda.io/notification_module 1.1.44 → 1.1.46

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 +4 -1
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -422,6 +422,9 @@ exports.get_notifications = async function (req) {
422
422
  try {
423
423
  var ret = await db_module.find_couch_query("xuda_notification", opt);
424
424
 
425
+ if (ret.docs) {
426
+ }
427
+
425
428
  return {
426
429
  code: 1,
427
430
  data: ret,
@@ -697,7 +700,7 @@ exports.get_system_notifications = async function (req) {
697
700
 
698
701
  exports.notifications_validation_fx = async function (method, params) {
699
702
  const fx = {
700
- new_version_available: function () {},
703
+ new_version_available: async function () {},
701
704
  };
702
705
 
703
706
  if (fx[method]) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuda.io/notification_module",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
4
4
  "description": "Xuda Notification Server Module",
5
5
  "main": "index.js",
6
6
  "dependencies": {