kc token public key/token issue, path root set to 1

This commit is contained in:
h z
2024-12-06 10:04:03 +00:00
parent 4b9c1ba727
commit 48dd59f8e4
9 changed files with 139 additions and 82 deletions

View File

@@ -13,8 +13,8 @@ def get_logs():
page = int(request.args.get('page', 1))
per_page = int(request.args.get('per_page', 10))
with get_db() as db:
query = db.query(Log)
with get_db() as session:
query = session.query(Log)
if level:
query = query.filter(Log.level == level)
if application: