mirror of
https://github.com/dnote/dnote
synced 2026-03-14 14:35:50 +01:00
Fix email type (#385)
This commit is contained in:
parent
ea51514c85
commit
d6496b27d1
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ func (c *Context) process(info inactiveUserInfo) error {
|
|||
return errors.Wrap(err, "executing inactive email template")
|
||||
}
|
||||
|
||||
if err := c.EmailBackend.Queue("Your knowledge base stopped growing", sender, []string{info.email}, mailer.EmailKindHTML, body); err != nil {
|
||||
if err := c.EmailBackend.Queue("Your knowledge base stopped growing", sender, []string{info.email}, mailer.EmailKindText, body); err != nil {
|
||||
return errors.Wrap(err, "queueing email")
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue