From 999f29d315a6dfd3e75f3330dee163637f740abc Mon Sep 17 00:00:00 2001 From: Finn Herzfeld Date: Tue, 8 Jan 2019 14:22:23 -0800 Subject: [PATCH] testhelper now expects postdata key number instead of account --- testhelper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testhelper.go b/testhelper.go index a069ab4..d3ee597 100644 --- a/testhelper.go +++ b/testhelper.go @@ -21,7 +21,7 @@ func main() { crash(err) http.HandleFunc("/helper/verification-code", func(w http.ResponseWriter, r *http.Request) { - account := r.PostFormValue("account") + account := r.PostFormValue("number") var code string err := db.QueryRow("SELECT verification_code FROM pending_accounts WHERE number = $1", account).Scan(&code) log.Printf("Looking for verification code for %s", account)