diff --git a/handlers.go b/handlers.go index ebdc8e5..914b7a0 100644 --- a/handlers.go +++ b/handlers.go @@ -34,7 +34,7 @@ func boardHandler(w http.ResponseWriter, r *http.Request) { args := r.URL.Query() // check args pre-conditions if !checkArgExists(args, "board", w) { - errorResponse(400, "Missing required 'boards' URL parameter", w, r) + errorResponse(400, "Missing required 'board' URL parameter", w, r) return } board := args.Get("board") diff --git a/sql_service.go b/sql_service.go index 7ab6061..2abafa4 100644 --- a/sql_service.go +++ b/sql_service.go @@ -88,7 +88,7 @@ func sqlInit() error { }, } fmt.Printf("SQL Server %s is query type %d\n", sqlServer, queryType) - fmt.Println(len(queryStrings[queryType])) + //fmt.Println(len(queryStrings[queryType])) db, dbOpenErr = sql.Open(sqlServer, sqlConnection) if dbOpenErr != nil { return dbOpenErr