diff options
-rw-r--r-- | src/db.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.go b/src/db.go index fb71b80..050ea05 100644 --- a/src/db.go +++ b/src/db.go @@ -37,7 +37,7 @@ func setupDatabase() (*sql.DB, error) { func dbGetName(db *sql.DB) string { // get the current name of the challenges - query := fmt.Sprintf("SELECT name FROM challenges WHERE points=200") + query := fmt.Sprintf("SELECT name FROM challenges") var names string err := db.QueryRow(query).Scan(&names) if err != nil { |