From 0a387c1087d895192d360ae795b4db485efa2159 Mon Sep 17 00:00:00 2001
From: Jason Streifling
Date: Sun, 1 Sep 2024 21:13:52 +0200
Subject: [PATCH] Remove unnecessery fmt.Println that was used for debugging
---
cmd/backend/articles.go | 1 -
web/templates/index.html | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/cmd/backend/articles.go b/cmd/backend/articles.go
index fa00771..832669c 100644
--- a/cmd/backend/articles.go
+++ b/cmd/backend/articles.go
@@ -49,7 +49,6 @@ func (db *DB) AddArticle(a *Article) (int64, error) {
return 0, fmt.Errorf("error getting issue ID when adding article to DB: %v", err)
}
- fmt.Println(a)
result, err := tx.Exec(insertQuery, a.Title, a.Description, a.Link,
a.EncURL, a.EncLength, a.EncType, a.Published, a.Rejected, a.AuthorID, id,
a.IsInIssue, a.AutoGenerated)
diff --git a/web/templates/index.html b/web/templates/index.html
index e0c98db..47c8574 100644
--- a/web/templates/index.html
+++ b/web/templates/index.html
@@ -25,7 +25,7 @@
© 2024 Jason Streifling. Alle Rechte vorbehalten.
- v0.8.2 - Hinweis: Diese Software befindet sich noch in der Entwicklung und kann Fehler
+ v0.8.3 - Hinweis: Diese Software befindet sich noch in der Entwicklung und kann Fehler
enthalten.