@xuda.io/notification_module 1.1.100 → 1.1.101
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.mjs +4 -13
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -495,19 +495,10 @@ export const update_system_notification = async (req) => {
|
|
|
495
495
|
notification_doc.type = type;
|
|
496
496
|
}
|
|
497
497
|
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
method: 'notification',
|
|
503
|
-
|
|
504
|
-
data: {
|
|
505
|
-
to: notification_doc.system ? uid : notification_doc.uid,
|
|
506
|
-
data: notification_doc,
|
|
507
|
-
},
|
|
508
|
-
}),
|
|
509
|
-
),
|
|
510
|
-
);
|
|
498
|
+
ws_dashboard_ms.notification({
|
|
499
|
+
to: notification_doc.system ? uid : notification_doc.uid,
|
|
500
|
+
data: notification_doc,
|
|
501
|
+
});
|
|
511
502
|
|
|
512
503
|
return await db_module.save_couch_doc('xuda_notification', notification_doc);
|
|
513
504
|
};
|