DmitrMakeev
commited on
Commit
•
9d7a8d7
1
Parent(s):
d75522b
Update app.py
Browse files
app.py
CHANGED
@@ -910,7 +910,8 @@ def webhookbz():
|
|
910 |
return jsonify({'error': 'webinarId is required'}), 400
|
911 |
url = f'https://online.bizon365.ru/api/v1/webinars/reports/get?webinarId={webinar_id}'
|
912 |
|
913 |
-
response = requests.get(url, headers={'X-Token':
|
|
|
914 |
|
915 |
if response.status_code == 200:
|
916 |
data = response.json()
|
|
|
910 |
return jsonify({'error': 'webinarId is required'}), 400
|
911 |
url = f'https://online.bizon365.ru/api/v1/webinars/reports/get?webinarId={webinar_id}'
|
912 |
|
913 |
+
response = requests.get(url, headers={'X-Token': api_key_sys})
|
914 |
+
|
915 |
|
916 |
if response.status_code == 200:
|
917 |
data = response.json()
|