mirror of
https://github.com/IgorL123/mafia_api.git
synced 2026-09-23 23:20:19 +00:00
mod1
This commit is contained in:
@@ -12,7 +12,7 @@ def hello_world(): # put application's code here
|
||||
@app.route('/create_game', methods=["POST"])
|
||||
def create():
|
||||
TCI = request.json['chatID']
|
||||
curs = db.conn()
|
||||
cursor = db.connection.cursor()
|
||||
db.query_ins_chat(TCI, curs)
|
||||
db.close(curs)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user