DmitrMakeev commited on
Commit
5859e31
·
verified ·
1 Parent(s): 43d5354

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -1598,6 +1598,10 @@ def add_data_ver_cur():
1598
  add_or_update_contact(user_data)
1599
  if curator_on_off == "1":
1600
  current_curator_index = (current_curator_index + 1) % len(curators)
 
 
 
 
1601
  return jsonify({'status': 'success', 'message': f'User added with curator {user_data.get("curator", "not assigned")}'})
1602
  except Exception as e:
1603
  logging.error(f"Error adding user: {e}")
 
1598
  add_or_update_contact(user_data)
1599
  if curator_on_off == "1":
1600
  current_curator_index = (current_curator_index + 1) % len(curators)
1601
+
1602
+ # Отправка данных в Google Forms
1603
+ send_to_google_forms(user_data, gog_url)
1604
+
1605
  return jsonify({'status': 'success', 'message': f'User added with curator {user_data.get("curator", "not assigned")}'})
1606
  except Exception as e:
1607
  logging.error(f"Error adding user: {e}")