This commit is contained in:
kolaente 2021-02-07 17:07:43 +01:00
parent fdb60d3a5d
commit 6a1cb31dc2
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 2 additions and 2 deletions

View File

@ -910,7 +910,7 @@ type ` + name + ` struct {
}
// ToMail returns the mail notification for ` + name + `
func (t *` + name + `) ToMail() *notifications.Mail {
func (n *` + name + `) ToMail() *notifications.Mail {
return notifications.NewMail().
To().
Subject("").
@ -920,7 +920,7 @@ func (t *` + name + `) ToMail() *notifications.Mail {
}
// ToDB returns the ` + name + ` notification in a format which can be saved in the db
func (t *` + name + `) ToDB() interface{} {
func (n *` + name + `) ToDB() interface{} {
return nil
}
`