about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authoruser@node5.net <user@node5.net>2025-07-19 19:32:01 +0200
committeruser@node5.net <user@node5.net>2025-07-19 19:32:01 +0200
commita26d55b0611fb058d85d3eacf7fe62db1f424efb (patch)
tree48403147896a5eebce035bcb5fea719a56ad7284 /src
parent800da4c7e251040ed2e6f8533b8dc24b6b83eaef (diff)
Comments minor - contact -> contact_info
Diffstat (limited to 'src')
-rw-r--r--src/db_handler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db_handler.py b/src/db_handler.py
index c0dba76..dc3540f 100644
--- a/src/db_handler.py
+++ b/src/db_handler.py
@@ -17,7 +17,7 @@ class DBHandler:
             cur = con.cursor()
             cur.execute(
                 '''
-                SELECT id, nickname, comment, page_url, visitor_url, (CASE WHEN show_contact THEN contact ELSE NULL END) as contact, created_at
+                SELECT id, nickname, comment, page_url, visitor_url, (CASE WHEN show_contact THEN contact ELSE NULL END) as contact_info, created_at
                 FROM comment WHERE approved AND public AND page_url = ? ORDER BY created_at DESC;
                 ''', (url,))
             comments = cur.fetchall()