This commit is contained in:
iamBadgers
2026-05-04 21:27:07 -07:00
parent d94ea04c1b
commit 702875943f
2 changed files with 1 additions and 2 deletions

View File

@@ -34,7 +34,7 @@ def get_current_user():
if current_user.is_authenticated: if current_user.is_authenticated:
return jsonify(current_user.to_dict()) return jsonify(current_user.to_dict())
else: else:
return jsonify({"username": "NONE", "authenticated": False}) return jsonify({"username": "NONE", "is_admin": "false", "authenticated": False})
return "Unauthd", 403 return "Unauthd", 403

View File

@@ -36,7 +36,6 @@ def create_table():
@tables.route("/tables/<table_id>") @tables.route("/tables/<table_id>")
def get_table(table_id): def get_table(table_id):
table = GameTable.query.get_or_404(table_id) table = GameTable.query.get_or_404(table_id)
current_app.logger.info(table)
return jsonify(table.to_dict()) return jsonify(table.to_dict())