Skip to content

Commit 8a3a624

Browse files
committed
Updatae debug scripts
1 parent bd283b9 commit 8a3a624

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"type": "python",
88
"request": "launch",
99
"python": "${workspaceFolder}/request-processor/.venv/bin/python",
10-
"program": "${workspaceFolder}/scripts/debug_trigger.py",
10+
"program": "${workspaceFolder}/scripts/debug_trigger_checkurl.py",
1111
"console": "integratedTerminal",
1212
"justMyCode": false,
1313
"env": {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def ensure_request_exists(request_payload: dict) -> None:
4242
database_url = os.environ.get("DATABASE_URL")
4343
if not database_url:
4444
raise RuntimeError(
45-
"DATABASE_URL is not set. Start the stack (or export DATABASE_URL) before running debug_trigger."
45+
"DATABASE_URL is not set. Start the stack (or export DATABASE_URL) before running debug_trigger_checkurl."
4646
)
4747

4848
request_id = request_payload["id"]
@@ -96,11 +96,11 @@ def ensure_request_exists(request_payload: dict) -> None:
9696
"params": {
9797
"type": "check_url",
9898
"organisationName": "London Borough of Hackney",
99-
"dataset": "article-4-direction",
99+
"dataset": "article-4-direction-area",
100100
"collection": "article-4-direction",
101101
"column_mapping": None,
102102
"geom_type": None,
103-
"url": "https://map2.hackney.gov.uk/geoserver/ows?service=WFS&version=2.0&request=GetFeature&outputFormat=application/json&SrsName=EPSG:4326&typeName=planning:lldc_hackney_conservation_area"
103+
"url": "https://raw.githubusercontent.com/digital-land/PublishExamples/refs/heads/main/Article4Direction/Files/Article4DirectionArea/articel4directionareas-(wrongColName-NewRefs)"
104104
}
105105
}
106106

0 commit comments

Comments
 (0)