mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
feat: #7743, finish user module
This commit is contained in:
@@ -129,8 +129,8 @@ Notifications.push = async function (notification, uids) {
|
||||
}
|
||||
|
||||
setTimeout(function () {
|
||||
batch.processArray(uids, function (uids, next) {
|
||||
pushToUids(uids, notification, next);
|
||||
batch.processArray(uids, async function (uids) {
|
||||
await pushToUids(uids, notification);
|
||||
}, { interval: 1000 }, function (err) {
|
||||
if (err) {
|
||||
winston.error(err.stack);
|
||||
|
||||
Reference in New Issue
Block a user