fix: there is no alltime digest, fixes translation in test email

there is no digest.title.alltime
This commit is contained in:
Barış Soner Uşaklı
2021-10-25 10:44:04 -04:00
parent 47df62e700
commit e62948f73d

View File

@@ -18,7 +18,7 @@ Email.test = async function (socket, data) {
switch (data.template) {
case 'digest':
await userDigest.execute({
interval: 'alltime',
interval: 'month',
subscribers: [socket.uid],
});
break;