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 c26e054..884a365 100644
--- a/src/db.go
+++ b/src/db.go
@@ -34,7 +34,7 @@ func dbGetName(db *sql.DB) string {
 }
 
 // getAllChallenges gets all the challenges from the server
-func dbGetAllChallenges(db *sql.DB) []Challenge {
+func dbGetAllChallenges() []Challenge {
 
 	// build the query
 	query := fmt.Sprintf("SELECT * FROM challenges")