Updated mail subject

This commit is contained in:
Romein van Buren 2023-03-17 15:37:03 +01:00
parent 5967941008
commit da3c66c652
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49

View File

@ -495,7 +495,7 @@ module.exports = {
+ '</ul>';
settings.emailRecipients.forEach(address => server.sendEmail({
subject: `[alert] ${tilesToNotifyAbout.size} web service${tilesToNotifyAbout.size === 1 ? '' : 's'} have a high priority!`,
subject: `[alert] ${tilesToNotifyAbout.size} web service${tilesToNotifyAbout.size === 1 ? ' has' : 's have'} a high priority!`,
sender: settings.emailSender,
to: address,
body: message,