fix linter/test errors

This commit is contained in:
Hayden 2024-04-28 12:21:43 -05:00
parent 0c968de1fb
commit d7fd68765a
No known key found for this signature in database
GPG key ID: 17CF79474E257545
40 changed files with 207 additions and 212 deletions

View file

@ -24,7 +24,6 @@ func GetTestMailer() (*Mailer, error) {
// Unmarshal JSON
err = json.Unmarshal(bytes, mailer)
if err != nil {
return nil, err
}

View file

@ -48,7 +48,6 @@ func render(tpl string, data TemplateProps) (string, error) {
var tplBuffer bytes.Buffer
err = tmpl.Execute(&tplBuffer, data)
if err != nil {
return "", err
}