From 47f091da5443d966cbf9012f5132adfbcaf8a51c Mon Sep 17 00:00:00 2001 From: Brian Wiborg Date: Mon, 13 May 2024 14:10:40 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20go=20fmt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http/main.go b/http/main.go index 8fbcc2e..bb46e38 100644 --- a/http/main.go +++ b/http/main.go @@ -137,7 +137,7 @@ func handleShowVoting(ctx echo.Context) error { } if v.Deadline().After(time.Now().UTC()) { if !eligible(ctx.Request().Header.Get("X-Remote-User"), v.Electors()) { - return ctx.Render(http.StatusOK, "not_eligible", nil) + return ctx.Render(http.StatusOK, "not_eligible", nil) } } return ctx.Render(http.StatusOK, "voting", map[string]interface{}{