DmitrMakeev commited on
Commit
162fb82
·
verified ·
1 Parent(s): b3d6ec4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -1849,6 +1849,7 @@ def registrations_period():
1849
  # Маршрут для отображения страницы с графиком за период
1850
  @app.route('/show_registrations_period', methods=['GET'])
1851
  def show_registrations_period():
 
1852
  if api_sys_control != api_key_sys:
1853
  return "EUR 22", 200
1854
 
@@ -1864,6 +1865,7 @@ def get_db_connection():
1864
 
1865
  @app.route('/delete_user', methods=['GET'])
1866
  def delete_user():
 
1867
  if api_sys_control != api_key_sys:
1868
  return "EUR 22", 200
1869
 
 
1849
  # Маршрут для отображения страницы с графиком за период
1850
  @app.route('/show_registrations_period', methods=['GET'])
1851
  def show_registrations_period():
1852
+ api_sys_control = request.args.get('api_sys')
1853
  if api_sys_control != api_key_sys:
1854
  return "EUR 22", 200
1855
 
 
1865
 
1866
  @app.route('/delete_user', methods=['GET'])
1867
  def delete_user():
1868
+ api_sys_control = request.args.get('api_sys')
1869
  if api_sys_control != api_key_sys:
1870
  return "EUR 22", 200
1871