about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db.go2
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 {