Skip to content

Commit

Permalink
Adding wards to allowed list of geographies
Browse files Browse the repository at this point in the history
  • Loading branch information
franmoore05 committed Mar 23, 2023
1 parent 83e3498 commit 86e01e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
)

var (
geoCodeOverride = "ltla" // Fran 20220831
validGeo = []string{"ctry", "lsoa", "ltla", "msoa", "nat", "oa", "rgn", "utla"} // allowlist of codes
geoCodeOverride = "ltla" // Fran 20220831
validGeo = []string{"ctry", "lsoa", "ltla", "msoa", "nat", "oa", "rgn", "utla", "wpc"} // allowlist of codes
errNotOneGeocode = errors.New("invalid data - expected exactly one geocode")
errUnexpectedResp = errors.New("unexpected JSON response")
)
Expand Down

0 comments on commit 86e01e6

Please sign in to comment.