diff --git a/.env.example b/.env.example index 53b97963..dc91ac99 100644 --- a/.env.example +++ b/.env.example @@ -5,4 +5,4 @@ DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1] .service.justice.gov.uk # Catalogue Variables CATALOGUE_TOKEN=mycatalogtoken -CATALOGUE_URL=https://datahub.apps-tools.development.data-platform.service.justice.gov.uk/ +CATALOGUE_URL=https://datahub.apps-tools.development.data-platform.service.justice.gov.uk/api/gms diff --git a/home/services.py b/home/services.py index a5072bef..58b51a34 100644 --- a/home/services.py +++ b/home/services.py @@ -5,5 +5,5 @@ def get_catalogue_client() -> BaseCatalogueClient: return DataHubCatalogueClient( - jwt_token=settings.DATAHUB_TOKEN, api_url=settings.DATAHUB_URL + jwt_token=settings.CATALOGUE_TOKEN, api_url=settings.CATALOGUE_URL )