@xuda.io/notification_module 1.1.54 → 1.1.56
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 +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -708,9 +708,9 @@ exports.notifications_validation_fx = async function (notification_id) {
|
|
|
708
708
|
"xuda_notification",
|
|
709
709
|
notification_id
|
|
710
710
|
);
|
|
711
|
-
const
|
|
711
|
+
const delete_notification = async function () {
|
|
712
712
|
doc.stat = 4;
|
|
713
|
-
await db_module.
|
|
713
|
+
await db_module.save_couch_doc("xuda_notification", doc);
|
|
714
714
|
};
|
|
715
715
|
|
|
716
716
|
if (code < 0) return;
|