Remove unneeded log

This commit is contained in:
Christopher Cookman 2024-12-19 13:13:34 -07:00
parent b611550ff5
commit fe70d0aba3

View file

@ -83,7 +83,6 @@ app.use(express.static('public'));
const addAnalytic = (tag) => {
pool.getConnection().then(conn => {
conn.query("SELECT * FROM analytics WHERE tag = ?", [tag]).then((rows) => {
console.log(rows);
if (rows.length === 0) {
conn.query("INSERT INTO analytics (tag, count) VALUES (?, 1)", [tag]).catch(err => {
console.error('Error creating analytics:', err);