🩹 go fmt

This commit is contained in:
Brian Wiborg 2024-05-13 14:10:40 +02:00
parent caaa935efc
commit 47f091da54
No known key found for this signature in database
GPG Key ID: BE53FA9286B719D6

View File

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