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 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") |