Closed sethvincent closed 5 years ago
https://github.com/openaq/openaq-metadata-editor/blob/5bcd4d80534ae60747402192915f62202224f899/app/assets/scripts/services/openaq-api.js#L32
we need to update this to use locations?metadata=true instead of locations/metadata
locations?metadata=true
locations/metadata
And anywhere there's metadata.data referneces, the data property has changed to metadata. Might want to make it location.metadata as that'll be more accurate and so we're not using metadata.metadata.
metadata.data
data
metadata
location.metadata
metadata.metadata
https://github.com/openaq/openaq-metadata-editor/blob/5bcd4d80534ae60747402192915f62202224f899/app/assets/scripts/services/openaq-api.js#L32
we need to update this to use
locations?metadata=true
instead oflocations/metadata