Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -250,7 +250,7 @@ def handle_incoming_request():
|
|
| 250 |
response_3 = requests.post(f"{base_url}/email/lists/{list_id_3}/recipients", json=data_3, headers=headers_3)
|
| 251 |
|
| 252 |
# Возвращаем список ответов
|
| 253 |
-
return {'responses': [response_1.json(), response_2, response_3.json()]}
|
| 254 |
|
| 255 |
elif current_day == 1: # Вторник
|
| 256 |
if current_hour < 19:
|
|
|
|
| 250 |
response_3 = requests.post(f"{base_url}/email/lists/{list_id_3}/recipients", json=data_3, headers=headers_3)
|
| 251 |
|
| 252 |
# Возвращаем список ответов
|
| 253 |
+
return {'responses': [response_1.json(), response_2.json(), response_3.json()]}
|
| 254 |
|
| 255 |
elif current_day == 1: # Вторник
|
| 256 |
if current_hour < 19:
|