Spaces:
Sleeping
Sleeping
DmitrMakeev
commited on
Commit
•
193a53d
1
Parent(s):
348b20e
Update app.py
Browse files
app.py
CHANGED
@@ -40,24 +40,28 @@ def save_db():
|
|
40 |
pr2 = request.args.get('pr2')
|
41 |
pr2_id = request.args.get('pr2_id')
|
42 |
pr3 = request.args.get('pr3')
|
43 |
-
pr3_id = request.args.get('pr3_id')
|
|
|
|
|
|
|
|
|
44 |
data = {
|
45 |
"email": email,
|
46 |
"unconfirmed": False,
|
47 |
"values": [
|
48 |
{
|
49 |
-
"parameter_id":
|
50 |
"kind": "string",
|
51 |
"list_id": list_id,
|
52 |
-
"title": "
|
53 |
-
"value":
|
54 |
},
|
55 |
{
|
56 |
-
"parameter_id":
|
57 |
"kind": "string",
|
58 |
"list_id": list_id,
|
59 |
-
"title": "
|
60 |
-
"value":
|
61 |
},
|
62 |
{
|
63 |
"parameter_id": pr3_id,
|
|
|
40 |
pr2 = request.args.get('pr2')
|
41 |
pr2_id = request.args.get('pr2_id')
|
42 |
pr3 = request.args.get('pr3')
|
43 |
+
pr3_id = request.args.get('pr3_id')
|
44 |
+
pr4 = request.args.get('pr4')
|
45 |
+
pr4_id = request.args.get('pr4_id')
|
46 |
+
pr5 = request.args.get('pr5')
|
47 |
+
pr5_id = request.args.get('pr5_id')
|
48 |
data = {
|
49 |
"email": email,
|
50 |
"unconfirmed": False,
|
51 |
"values": [
|
52 |
{
|
53 |
+
"parameter_id": pr5_id,
|
54 |
"kind": "string",
|
55 |
"list_id": list_id,
|
56 |
+
"title": "pr5",
|
57 |
+
"value": pr5
|
58 |
},
|
59 |
{
|
60 |
+
"parameter_id": pr4_id,
|
61 |
"kind": "string",
|
62 |
"list_id": list_id,
|
63 |
+
"title": "pr4",
|
64 |
+
"value": pr4
|
65 |
},
|
66 |
{
|
67 |
"parameter_id": pr3_id,
|