From 0918affe9a30cb8ce967511ceff2bcb7fa5e54b9 Mon Sep 17 00:00:00 2001 From: Cipher Vance Date: Sat, 15 Nov 2025 13:51:29 -0600 Subject: [PATCH] fixed call from , to . --- internal/handlers/newsletter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/handlers/newsletter.go b/internal/handlers/newsletter.go index 72e6f74..8443d40 100644 --- a/internal/handlers/newsletter.go +++ b/internal/handlers/newsletter.go @@ -26,7 +26,7 @@ func SendUpdatePost(c *gin.Context) { // validate inputs if strings.TrimSpace(subject) == "" || strings.TrimSpace(body) == "" { - c.HTML(http,StatusBadRequest, "send_update.html", + c.HTML(http.StatusBadRequest, "send_update.html", gin.H{"error": "Subject and message cannot be empty"}) return }