This commit is contained in:
ada-dmitry
2023-08-22 23:55:00 +03:00
parent 5cc1433ab4
commit 0b2580592a
3 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -48,7 +48,7 @@ def create():
db.close(cursor)
@app.route('/start_game', methods = ["POST"])
@app.route('/start_game', methods=["POST"])
def start(): # Команда принимает на вход
TCI = request.json['chatID']
userlist = request.json['usderIDs']
@@ -57,5 +57,6 @@ def start(): # Команда принимает на вход
db.query_ins_user(id, curs)
db.close()
if __name__ == '__main__':
app.run()