Misc cleanup.
This commit is contained in:
parent
00515185cd
commit
3b41e1dfd8
4 changed files with 58 additions and 24 deletions
|
|
@ -16,6 +16,7 @@ type MailClient struct {
|
|||
// config stores application configuration
|
||||
config *config.Config
|
||||
|
||||
// templates stores the template renderer
|
||||
templates *TemplateRenderer
|
||||
}
|
||||
|
||||
|
|
@ -51,7 +52,7 @@ func (c *MailClient) SendTemplate(ctx echo.Context, to, template string, data in
|
|||
"mail",
|
||||
template,
|
||||
template,
|
||||
[]string{fmt.Sprintf("email/%s", template)},
|
||||
[]string{fmt.Sprintf("emails/%s", template)},
|
||||
[]string{},
|
||||
data,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue