fix: typo

v1.18.x
Barış Soner Uşaklı 4 years ago
parent cf4002bcc9
commit c61cc37bba

@ -103,7 +103,7 @@ Digest.send = async function (data) {
await batch.processArray(data.subscribers, async (uids) => {
let userData = await user.getUsersFields(uids, ['uid', 'email', 'email:confirmed', 'username', 'userslug', 'lastonline']);
userData = userData.filter(u => u && u.email && (!meta.config.requireEmailConfirmation || userData['email:confirmed']));
userData = userData.filter(u => u && u.email && (!meta.config.requireEmailConfirmation || u['email:confirmed']));
if (!userData.length) {
return;
}

Loading…
Cancel
Save