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{}{