From 2a97d9379e8dc04a14a068844046a76becb27a85 Mon Sep 17 00:00:00 2001 From: Dmitry Verkhoturov Date: Wed, 27 Jul 2022 03:15:45 +0200 Subject: [PATCH] fix unsubscribe template filename --- backend/app/rest/api/rest_private.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/rest/api/rest_private.go b/backend/app/rest/api/rest_private.go index c7b063d8..dc3ee223 100644 --- a/backend/app/rest/api/rest_private.go +++ b/backend/app/rest/api/rest_private.go @@ -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)