Skip to content

Commit

Permalink
parking-offstreet-sta: use old API endpoint again
Browse files Browse the repository at this point in the history
  • Loading branch information
dulvui committed Jul 30, 2024
1 parent 1aef744 commit 4480204
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions data-collectors/parking-offstreet-sta/src/dc/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,10 @@ type FreePlace struct {
Longitude float64
}

const facilityUrl = "https://online.onecenter.info/api/Facility/GetFacilities"
const freePlacesUrl = "https://online.onecenter.info/api/Facility/GetFreePlaces?FacilityID="
// const facilityUrl = "https://online.onecenter.info/api/Facility/GetFacilities"
// const freePlacesUrl = "https://online.onecenter.info/api/Facility/GetFreePlaces?FacilityID="
const facilityUrl = "https://www.onecenter.info/api/DAZ/GetFacilities"
const freePlacesUrl = "https://www.onecenter.info/api/DAZ/FacilityFreePlaces?FacilityID="

func GetFacilityData() FacilityResponse {
var response FacilityResponse
Expand Down

0 comments on commit 4480204

Please sign in to comment.