Update testhelper
This commit is contained in:
parent
02eebdd399
commit
7822e7154f
1 changed files with 3 additions and 1 deletions
|
@ -24,7 +24,9 @@ func main() {
|
|||
account := r.PostFormValue("account")
|
||||
var code string
|
||||
err := db.QueryRow("SELECT verification_code FROM pending_accounts WHERE number = $1", account).Scan(&code)
|
||||
crash(err)
|
||||
if(err != nil) {
|
||||
fmt.Printf(w, "\n")
|
||||
}
|
||||
fmt.Fprintf(w, "%s\n", code)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue