Skip to content

Commit

Permalink
fix unsubscribe template filename
Browse files Browse the repository at this point in the history
  • Loading branch information
paskal committed Jul 27, 2022
1 parent ba00603 commit 2a97d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/rest/api/rest_private.go
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ func (s *private) emailUnsubscribeCtrl(w http.ResponseWriter, r *http.Request) {
}
return string(file)
}
tmplstr := MustRead("unsubscribe.html.tmpl")
tmplstr := MustRead("email_unsubscribe.html.tmpl")
tmpl := template.Must(template.New("unsubscribe").Parse(tmplstr))
msg := bytes.Buffer{}
MustExecute(tmpl, &msg, nil)
Expand Down

0 comments on commit 2a97d93

Please sign in to comment.