DmitrMakeev commited on
Commit
6bda9b5
1 Parent(s): ff18898

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -0
app.py CHANGED
@@ -774,6 +774,12 @@ def data_gc_tab_out():
774
 
775
 
776
  DATABASE_NAME = 'data_gc.db'
 
 
 
 
 
 
777
  def update_or_insert_user(db_name, user_data, mapping_template):
778
  conn = sqlite3.connect(db_name)
779
  cursor = conn.cursor()
@@ -875,6 +881,7 @@ def update_or_insert_user(db_name, user_data, mapping_template):
875
  conn.close()
876
  logging.debug(f"User with email {email} processed successfully")
877
 
 
878
  @app.route('/send_request', methods=['POST'])
879
  def send_request():
880
  token = request.form.get('token')
@@ -939,6 +946,7 @@ def send_get_request():
939
 
940
 
941
 
 
942
  @app.route('/webhookbz', methods=['POST'])
943
  def webhookbz():
944
  api_sys_control = request.args.get('api_sys')
 
774
 
775
 
776
  DATABASE_NAME = 'data_gc.db'
777
+
778
+
779
+
780
+
781
+
782
+
783
  def update_or_insert_user(db_name, user_data, mapping_template):
784
  conn = sqlite3.connect(db_name)
785
  cursor = conn.cursor()
 
881
  conn.close()
882
  logging.debug(f"User with email {email} processed successfully")
883
 
884
+
885
  @app.route('/send_request', methods=['POST'])
886
  def send_request():
887
  token = request.form.get('token')
 
946
 
947
 
948
 
949
+
950
  @app.route('/webhookbz', methods=['POST'])
951
  def webhookbz():
952
  api_sys_control = request.args.get('api_sys')