openaq / openaq-metadata-editor

MIT License
1 stars 1 forks source link

update ui to reflect changes in metadata list endpoint #14

Closed sethvincent closed 5 years ago

sethvincent commented 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

sethvincent commented 5 years ago

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.