Refresh Git cache and apply .gitignore

This commit is contained in:
Mann Patel
2025-08-29 23:39:09 -06:00
parent 182be31cd1
commit 044580f02a
12 changed files with 16 additions and 11 deletions

View File

@@ -93,10 +93,11 @@ func PollHandler(w http.ResponseWriter, r *http.Request) {
// Parse boolean values
var question1VotedBefore *bool
if val := r.FormValue("question1_voted_before"); val != "" {
if val == "true" {
switch val {
case "true":
b := true
question1VotedBefore = &b
} else if val == "false" {
case "false":
b := false
question1VotedBefore = &b
}
@@ -104,10 +105,11 @@ func PollHandler(w http.ResponseWriter, r *http.Request) {
var question2VoteAgain *bool
if val := r.FormValue("question2_vote_again"); val != "" {
if val == "true" {
switch val {
case "true":
b := true
question2VoteAgain = &b
} else if val == "false" {
case "false":
b := false
question2VoteAgain = &b
}