about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEmile <hanemile@protonmail.com>2019-10-19 23:15:07 +0200
committerEmile <hanemile@protonmail.com>2019-10-19 23:15:07 +0200
commite6082efddfcf7e304429a9ab8dd7b15d71c59c52 (patch)
treea448e2c20039f2222cbcf22222af506e089e056d /src
parent447bce27b160f19924ce988be1b97e32759546bc (diff)
removed debug prints
Diffstat (limited to 'src')
-rw-r--r--src/db.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/db.go b/src/db.go
index 3238bf2..7662faa 100644
--- a/src/db.go
+++ b/src/db.go
@@ -100,8 +100,6 @@ func dbNewChallenge(challenge Challenge) (string, error) {
 func editChallengeUUID(uuid string, updatedChallenge Challenge) error {
 	query := fmt.Sprintf("UPDATE challenges SET name = '%s', description = '%s', flag = '%s', container = '%s', category = '%s', points = %d, static = %t WHERE uuid::text = '%s'", updatedChallenge.Name, updatedChallenge.Description, updatedChallenge.Flag, updatedChallenge.Container, updatedChallenge.Category, updatedChallenge.Points, updatedChallenge.Static, updatedChallenge.UUID)
 
-	fmt.Printf("Query: %s", query)
-
 	_, _ = db.Exec(query)
 
 	return nil