Fix typo
This commit is contained in:
parent
fdb60d3a5d
commit
6a1cb31dc2
|
@ -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
|
||||
}
|
||||
`
|
||||
|
|
Loading…
Reference in New Issue