Skip to content

Commit

Permalink
Rename licensed_wdpa_protected_areas -> wdpa_licensed_protected_areas
Browse files Browse the repository at this point in the history
  • Loading branch information
danscales committed Oct 13, 2023
1 parent a9abea5 commit 32c802a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/routes/datasets/queries.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

# Datasets that require admin privileges to do a query. (Extra protection on
# commercial datasets which shouldn't be downloaded in any way.)
PROTECTED_QUERY_DATASETS = ["licensed_wdpa_protected_areas"]
PROTECTED_QUERY_DATASETS = ["wdpa_licensed_protected_areas"]

@router.get(
"/{dataset}/{version}/query",
Expand Down
2 changes: 1 addition & 1 deletion tests_v2/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ async def licensed_dataset(
"""Create licensed dataset."""

# Create dataset
dataset_name: str = "licensed_wdpa_protected_areas"
dataset_name: str = "wdpa_licensed_protected_areas"

await async_client.put(
f"/dataset/{dataset_name}", json={"metadata": DATASET_METADATA}
Expand Down

0 comments on commit 32c802a

Please sign in to comment.