mirror of
https://github.com/Llloooggg/Jarvis.git
synced 2026-03-06 03:56:23 +03:00
Исправил ошибку при повторной регистрации
This commit is contained in:
@@ -69,13 +69,13 @@ def workshop():
|
||||
actionArgs)
|
||||
return redirect(url_for('workshop'))
|
||||
|
||||
# if 'NewScenarioName' in request.form:
|
||||
|
||||
if 'TGUsername' in request.form:
|
||||
new_tg_username = request.form['TGUsername']
|
||||
db_routing.tg_username_update(current_user.get_id(), new_tg_username)
|
||||
return redirect(url_for('workshop'))
|
||||
|
||||
# if 'NewScenarioName' in request.form:
|
||||
|
||||
triggers_list = db_routing.get_trigers()
|
||||
actions_list = db_routing.get_actions()
|
||||
user_scripts_list = db_routing.get_user_scripts(current_user.get_id())
|
||||
|
||||
Reference in New Issue
Block a user