sparkgeo / staclint-legacy

Web interface for validating STAC datasets (http://staclint.com)
Apache License 2.0
2 stars 0 forks source link

Promisify validateJson and validateStac calls #24

Open brianbancroft opened 5 years ago

brianbancroft commented 5 years ago

This issue should be considered closed with both functions return a promise (validateStac does as it's an API call), and that they both trigger a catch if the stac or json isn't valid.

Having these both will allow a promise chain for the runValidate function, and make it much DRYer