|
|
|
@ -58,7 +58,7 @@ def award(): |
|
|
|
|
|
|
|
|
|
|
|
@app.route('/add_awards', method='POST') |
|
|
|
@app.route('/add_awards', method='POST') |
|
|
|
def add_awards(): |
|
|
|
def add_awards(): |
|
|
|
return lottery.add_awards(b.request.json) |
|
|
|
return lottery.add_awards(b.request.json['awards']) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@app.route('/reset') |
|
|
|
@app.route('/reset') |
|
|
|
|