diff --git a/testhelper.go b/testhelper.go index 8fc16e6..9eae600 100644 --- a/testhelper.go +++ b/testhelper.go @@ -20,7 +20,7 @@ func main() { db, err := sql.Open("postgres", os.Getenv("DB")) crash(err) - http.HandleFunc("/verification-code", func(w http.ResponseWriter, r *http.Request) { + http.HandleFunc("/helper/verification-code", func(w http.ResponseWriter, r *http.Request) { account := r.PostFormValue("account") var code string err := db.QueryRow("SELECT verification_code FROM pending_accounts WHERE number = $1", account).Scan(&code)