feat: adjust Rankings to new auth + User

This commit is contained in:
2025-03-11 10:34:58 +01:00
parent 53fc8bb6e3
commit 401ac316c1
2 changed files with 75 additions and 152 deletions

View File

@@ -55,7 +55,7 @@ def add_players(players: list[Player]):
def list_players():
with Session(engine) as session:
statement = select(Player).order_by(Player.name)
statement = select(Player).order_by(Player.display_name)
return session.exec(statement).fetchall()