mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2026-07-09 19:01:41 +00:00
more notifications
This commit is contained in:
parent
04ba949182
commit
9e28ee036f
5 changed files with 99 additions and 39 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue