rcpch / national-paediatric-diabetes-audit

A django application to audit the care of children and young people with diabetes in England and Wales.
0 stars 1 forks source link

refactor all instances of RCPCH NHS Organisations API URL #120

Open eatyourpeas opened 2 weeks ago

eatyourpeas commented 2 weeks ago

Overview

RCPCH_NHS_ORGANISATIONS_API_URL was hardcoded because of difficulties on the azure side for this API that are now fixed.

This PR adds RCPCH_NHS_ORGANISATIONS_API_URL to the .env please add RCPCH_NHS_ORGANISATIONS_API_URL="https://api.rcpch.ac.uk/nhs-organisations/v1" to your local untracked .env There are not keys for this API

Any uses across the codebase have been refactored