Loading CHANGELOG +2 −0 Changes for CHANGELOG: 2 added lines, 0 removed lines. Original line number Diff line number Diff line 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: Loading bundesliga_tippspiel/routes/api/getters.py +4 −1 Changes for bundesliga_tippspiel/routes/api/getters.py: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -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 Loading version +1 −1 Changes for version: 1 added line, 1 removed line. Original line number Diff line number Diff line 1.0.2 No newline at end of file 1.0.3 No newline at end of file Loading
CHANGELOG +2 −0 Changes for CHANGELOG: 2 added lines, 0 removed lines. Original line number Diff line number Diff line 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: Loading
bundesliga_tippspiel/routes/api/getters.py +4 −1 Changes for bundesliga_tippspiel/routes/api/getters.py: 4 added lines, 1 removed line. Original line number Diff line number Diff line Loading @@ -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 Loading
version +1 −1 Changes for version: 1 added line, 1 removed line. Original line number Diff line number Diff line 1.0.2 No newline at end of file 1.0.3 No newline at end of file