Skip to content

Commit

Permalink
update catalogue client variables
Browse files Browse the repository at this point in the history
  • Loading branch information
mitchdawson1982 committed Jan 25, 2024
1 parent 7ad529a commit 8912ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion home/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

0 comments on commit 8912ec1

Please sign in to comment.