mirror of
https://github.com/knadh/listmonk.git
synced 2025-10-01 19:04:45 +08:00
Fix tx template not being cached on update. Closes #2061.
This commit is contained in:
parent
98fed80b80
commit
58b13afa29
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ func handleUpdateTemplate(c echo.Context) error {
|
|||
}
|
||||
|
||||
// If it's a transactional template, cache it.
|
||||
if o.Type == models.TemplateTypeTx {
|
||||
if out.Type == models.TemplateTypeTx {
|
||||
app.manager.CacheTpl(out.ID, &o)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue