Commit 7fd52557 authored by Hermann Krumrey's avatar Hermann Krumrey

Merge branch 'develop' into 'master'

Develop

See merge request namibsun/python/bundesliga-tippspiel!23
parents 0ab2b0c7 1ff5c749
V 1.0.3:
- Fixed leaderboard API endpoint breaking without any parameters
V 1.0.2:
- Now uses docker in CI
V 1.0.1:
......
......@@ -125,7 +125,10 @@ def api_leaderboard():
Enables retrieving a leaderboard
:return: The JSON response
"""
action = LeaderboardAction().from_dict(request.get_json())
params = request.get_json()
if params is None:
params = {}
action = LeaderboardAction().from_dict(params)
leaderboard = action.execute()
jsonified = jsonify_models(leaderboard, True)
return jsonified
......
1.0.2
\ No newline at end of file
1.0.3
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment