diff --git a/magefile.go b/magefile.go index d6d118fa0..a6c8c2409 100644 --- a/magefile.go +++ b/magefile.go @@ -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 } `