File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ async def connect(
88
88
89
89
# Use a persistant connect, better for multiple requests
90
90
self .session = requests .Session ()
91
- self .url = os .getenv ("UNDERPASS_API_URL " , "https://raw-data-api0.hotosm.org/v1" )
91
+ self .url = os .getenv ("RAW_DATA_API_URL " , "https://raw-data-api0.hotosm.org/v1" )
92
92
self .headers = {"accept" : "application/json" , "Content-Type" : "application/json" }
93
93
else :
94
94
# log.debug(f"Connecting with: {connect}")
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def __init__(
132
132
if self .uri ["dbname" ] == "underpass" :
133
133
# Use a persistant connect, better for multiple requests
134
134
self .session = requests .Session ()
135
- self .url = os .getenv ("UNDERPASS_API_URL " , "https://api-prod.raw-data.hotosm.org/v1" )
135
+ self .url = os .getenv ("RAW_DATA_API_URL " , "https://api-prod.raw-data.hotosm.org/v1" )
136
136
self .headers = {"accept" : "application/json" , "Content-Type" : "application/json" }
137
137
else :
138
138
log .info (f"Opening database connection to: { self .uri ['dbname' ]} " )
You can’t perform that action at this time.
0 commit comments