Add keytable dao

This commit is contained in:
iamBadgers
2026-03-23 00:20:50 -07:00
parent 52474fe9f4
commit 5a6756dabc
3 changed files with 80 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ def get_active_tables():
cursor = db.cursor()
tables = game_tables.read_active(cursor)
cursor.close()
return jsonify([table.toJson() for table in tables])
@@ -47,7 +47,7 @@ def get_tables():
db = get_db()
cursor = db.cursor()
tables = game_tables.read_all(cursor)
cursor.close();
cursor.close()
return jsonify([table.toJson() for table in tables])