Объединил триггеры и эшены

This commit is contained in:
2020-03-22 16:11:14 +03:00
parent 8f569f5a1f
commit 86b97c47c3
7 changed files with 38 additions and 36 deletions

View File

@@ -127,7 +127,7 @@ def delete_scenario(scenario_id):
db.session.commit()
def tg_username_update(current_user_id, new_tg_username):
def tg_id_update(current_user_id, new_tg_username):
current_user = User.query.filter_by(id=current_user_id).first()
current_user.tg_username = new_tg_username
db.session.commit()