From 43cb23e56cf707e62c67aaecb589bdf1c879d2cd Mon Sep 17 00:00:00 2001 From: Pen Anderson Date: Wed, 4 Mar 2026 21:06:00 -0600 Subject: [PATCH] Used preferred name in volunteer signup. --- handle_signup.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/handle_signup.go b/handle_signup.go index 31c796b..738c89c 100644 --- a/handle_signup.go +++ b/handle_signup.go @@ -69,11 +69,7 @@ func (app *App) handlePublicSignup(w http.ResponseWriter, r *http.Request) { } // Find or create participant by email. - name := body.PreferredName - if body.TicketName != "" { - name = body.TicketName - } - participant, _, err := app.upsertParticipant(body.Email, name) + participant, _, err := app.upsertParticipant(body.Email, body.PreferredName) if err != nil { writeError(w, "internal error", http.StatusInternalServerError) return