Skip to content

Commit

Permalink
fix: replace usage of UNDERPASS_API_URL --> RAW_DATA_API_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed May 20, 2024
1 parent 70c5e44 commit 7bed23d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/backend/app/projects/project_crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -454,16 +454,16 @@ async def generate_data_extract(
pg = PostgresClient(
"underpass",
extract_config,
auth_token=settings.OSM_SVC_ACCOUNT_TOKEN
if settings.OSM_SVC_ACCOUNT_TOKEN
auth_token=settings.RAW_DATA_API_AUTH_TOKEN
if settings.RAW_DATA_API_AUTH_TOKEN
else None,
)
fgb_url = pg.execQuery(
aoi,
extra_params={
"fileName": (
f"fmtm/{settings.FMTM_DOMAIN}/data_extract"
if settings.OSM_SVC_ACCOUNT_TOKEN
if settings.RAW_DATA_API_AUTH_TOKEN
else "fmtm_extract"
),
"outputType": "fgb",
Expand Down

0 comments on commit 7bed23d

Please sign in to comment.