DmitrMakeev
commited on
Commit
•
2187439
1
Parent(s):
6cc2212
Update app.py
Browse files
app.py
CHANGED
@@ -42,7 +42,7 @@ def init_db(db_name):
|
|
42 |
name TEXT NOT NULL,
|
43 |
phone TEXT NOT NULL,
|
44 |
email TEXT NOT NULL,
|
45 |
-
curator TEXT
|
46 |
vk_id TEXT NOT NULL,
|
47 |
chat_id TEXT NOT NULL,
|
48 |
ws_statys TEXT NOT NULL,
|
@@ -162,7 +162,7 @@ def add_data_gc():
|
|
162 |
name = request.args.get('name')
|
163 |
phone = request.args.get('phone')
|
164 |
email = request.args.get('email')
|
165 |
-
curator = request.args.get('
|
166 |
vk_id = request.args.get('vk_id', '')
|
167 |
chat_id = request.args.get('chat_id', '')
|
168 |
ws_statys = request.args.get('ws_st', '')
|
@@ -229,7 +229,7 @@ def add_contact():
|
|
229 |
name = request.args.get('name')
|
230 |
phone = request.args.get('phone')
|
231 |
email = request.args.get('email')
|
232 |
-
curator = request.args.get('
|
233 |
vk_id = request.args.get('vk_id', '')
|
234 |
chat_id = request.args.get('chat_id', '')
|
235 |
ws_statys = request.args.get('ws_statys', '')
|
|
|
42 |
name TEXT NOT NULL,
|
43 |
phone TEXT NOT NULL,
|
44 |
email TEXT NOT NULL,
|
45 |
+
curator TEXT NOT NULL,
|
46 |
vk_id TEXT NOT NULL,
|
47 |
chat_id TEXT NOT NULL,
|
48 |
ws_statys TEXT NOT NULL,
|
|
|
162 |
name = request.args.get('name')
|
163 |
phone = request.args.get('phone')
|
164 |
email = request.args.get('email')
|
165 |
+
curator = request.args.get('curat', '') # Добавлен новый параметр
|
166 |
vk_id = request.args.get('vk_id', '')
|
167 |
chat_id = request.args.get('chat_id', '')
|
168 |
ws_statys = request.args.get('ws_st', '')
|
|
|
229 |
name = request.args.get('name')
|
230 |
phone = request.args.get('phone')
|
231 |
email = request.args.get('email')
|
232 |
+
curator = request.args.get('curat', '') # Добавлен новый параметр
|
233 |
vk_id = request.args.get('vk_id', '')
|
234 |
chat_id = request.args.get('chat_id', '')
|
235 |
ws_statys = request.args.get('ws_statys', '')
|