@xuda.io/notification_module 1.1.73 → 1.1.75
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 -6
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -431,11 +431,6 @@ exports.get_notifications = async function (req) {
|
|
|
431
431
|
}
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
// for await (let [key,doc] of Object.entries(ret.docs)) {
|
|
435
|
-
// if( !await module.exports.notifications_validation_fx(doc._id)){
|
|
436
|
-
|
|
437
|
-
// }
|
|
438
|
-
// }
|
|
439
434
|
|
|
440
435
|
return {
|
|
441
436
|
code: 1,
|
|
@@ -739,7 +734,7 @@ exports.notifications_validation_fx = async function (notification_id) {
|
|
|
739
734
|
await read_notification();
|
|
740
735
|
return false;
|
|
741
736
|
}
|
|
742
|
-
|
|
737
|
+
|
|
743
738
|
return true;
|
|
744
739
|
},
|
|
745
740
|
};
|