Loading karaokatalog/ui/serve/get_flask_app.py +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ def get_flask_app(songs: Sequence[dict[str, str]]) -> Flask: # This is only to make the type checker happy. songs_list = list(songs) @app.get("/api/songs") @app.get("/songs.json") def get_songs() -> list[dict[str, str]]: return songs_list Loading Loading
karaokatalog/ui/serve/get_flask_app.py +1 −1 Original line number Diff line number Diff line Loading @@ -9,7 +9,7 @@ def get_flask_app(songs: Sequence[dict[str, str]]) -> Flask: # This is only to make the type checker happy. songs_list = list(songs) @app.get("/api/songs") @app.get("/songs.json") def get_songs() -> list[dict[str, str]]: return songs_list Loading