diff --git a/src/main.py b/src/main.py index 9580e46..39dc0f3 100644 --- a/src/main.py +++ b/src/main.py @@ -58,7 +58,7 @@ def award(): @app.route('/add_awards', method='POST') def add_awards(): - return lottery.add_awards(b.request.json) + return lottery.add_awards(b.request.json['awards']) @app.route('/reset')