format, sort categories

This commit is contained in:
matthias@matsewe.de
2024-05-24 18:21:09 +02:00
parent d1864052cc
commit ae3b3a4a4f
5 changed files with 22 additions and 12 deletions

View File

@@ -26,4 +26,4 @@ async def vote(song_id: str, session_id: str, vote: int, db: Annotated[Session,
@router.get("/evaluation")
async def get_evaluation(db: Annotated[Session, Depends(get_db)] = None) -> dict[int, dict[int, int]]:
return get_all_songs_and_votes(db)
return get_all_songs_and_votes(db)