@xuda.io/notification_module 1.1.68 → 1.1.69
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 +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -719,7 +719,7 @@ exports.notifications_validation_fx = async function (notification_id) {
|
|
|
719
719
|
await db_module.save_couch_doc("xuda_notification", doc);
|
|
720
720
|
};
|
|
721
721
|
|
|
722
|
-
if (code < 0) return;
|
|
722
|
+
if (code < 0) return false;
|
|
723
723
|
|
|
724
724
|
if (!doc.topic) {
|
|
725
725
|
await delete_notification();
|