DmitrMakeev
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -155,6 +155,7 @@ def start_mailings():
|
|
155 |
def add_data_gc():
|
156 |
try:
|
157 |
api_sys_control = request.args.get('api_sys')
|
|
|
158 |
if api_sys_control != api_key_sys:
|
159 |
return "EUR 22", 200
|
160 |
|
@@ -176,8 +177,6 @@ def add_data_gc():
|
|
176 |
pr5 = request.args.get('pr5', '')
|
177 |
ad_url = request.args.get('ad_url', '')
|
178 |
|
179 |
-
print(f"Received data: name={name}, phone={phone}, email={email}, curator={curator}, vk_id={vk_id}, chat_id={chat_id}, ws_statys={ws_statys}, ws_stop={ws_stop}, web_statys={web_statys}, fin_progress={fin_progress}, shop_statys_full={shop_statys_full}, pr1={pr1}, pr2={pr2}, pr3={pr3}, pr4={pr4}, pr5={pr5}, ad_url={ad_url}")
|
180 |
-
|
181 |
if not name or not phone or not email:
|
182 |
return "Parameters 'name', 'phone', and 'email' are required.", 400
|
183 |
|
|
|
155 |
def add_data_gc():
|
156 |
try:
|
157 |
api_sys_control = request.args.get('api_sys')
|
158 |
+
|
159 |
if api_sys_control != api_key_sys:
|
160 |
return "EUR 22", 200
|
161 |
|
|
|
177 |
pr5 = request.args.get('pr5', '')
|
178 |
ad_url = request.args.get('ad_url', '')
|
179 |
|
|
|
|
|
180 |
if not name or not phone or not email:
|
181 |
return "Parameters 'name', 'phone', and 'email' are required.", 400
|
182 |
|