Update app.py
Browse files
app.py
CHANGED
|
@@ -83,7 +83,7 @@ def process_new_survey(survey_submission_ID):
|
|
| 83 |
(2) the parsed input data
|
| 84 |
(3) 3 JSONs representing the schemas for farm activity, interactions, and scientific trials
|
| 85 |
"""
|
| 86 |
-
survey_id = "
|
| 87 |
|
| 88 |
base_url = "https://app.surveystack.io/api/submissions"
|
| 89 |
params = {
|
|
@@ -179,7 +179,7 @@ def display_new_survey():
|
|
| 179 |
"""
|
| 180 |
base_url = "https://app.surveystack.io/groups/"
|
| 181 |
group_id = "5e95e368fbbf75000146a006" # Group ID "Our-Sci"
|
| 182 |
-
survey_id = "
|
| 183 |
|
| 184 |
# Construct the full URL using urljoin to ensure proper formatting
|
| 185 |
survey_url = urljoin(base_url, f"{group_id}/surveys/{survey_id}/submissions/new")
|
|
|
|
| 83 |
(2) the parsed input data
|
| 84 |
(3) 3 JSONs representing the schemas for farm activity, interactions, and scientific trials
|
| 85 |
"""
|
| 86 |
+
survey_id = "673b4994aef86f0533b3546c"
|
| 87 |
|
| 88 |
base_url = "https://app.surveystack.io/api/submissions"
|
| 89 |
params = {
|
|
|
|
| 179 |
"""
|
| 180 |
base_url = "https://app.surveystack.io/groups/"
|
| 181 |
group_id = "5e95e368fbbf75000146a006" # Group ID "Our-Sci"
|
| 182 |
+
survey_id = "673b4994aef86f0533b3546c" # survey id
|
| 183 |
|
| 184 |
# Construct the full URL using urljoin to ensure proper formatting
|
| 185 |
survey_url = urljoin(base_url, f"{group_id}/surveys/{survey_id}/submissions/new")
|