more notifications

This commit is contained in:
Vito0912 2025-05-17 17:55:18 +02:00
parent 04ba949182
commit 9e28ee036f
No known key found for this signature in database
GPG key ID: 29A3D509FE70B237
5 changed files with 99 additions and 39 deletions

View file

@ -102,7 +102,7 @@ class Notification {
}
replaceVariablesInTemplate(templateText, data) {
const ptrn = /{{ ?([a-zA-Z]+) ?}}/mg
const ptrn = /{{ ?([a-zA-Z.]+) ?}}/mg
var match
var updatedTemplate = templateText
@ -130,4 +130,4 @@ class Notification {
}
}
}
module.exports = Notification
module.exports = Notification