🩹 go fmt
This commit is contained in:
parent
caaa935efc
commit
47f091da54
1 changed files with 1 additions and 1 deletions
|
@ -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{}{
|
||||
|
|
Loading…
Reference in a new issue