Make new route in api instead of going through npm script; new retrieveAll call for controller

This commit is contained in:
efarooqui
2021-02-08 11:49:43 -08:00
parent d6d565a0fc
commit 7bafcb0343
4 changed files with 39 additions and 0 deletions

View File

@@ -39,6 +39,10 @@ class Controller {
})
}
retrieveAll (blueprints) {
// index through bps, grab data and add to existing data object with value for url name and data points for data object, write to file and return success msg; catch errors appropriately
}
retrieve (sheet, tab, resource) {
if (this._sheetExists(sheet)) {
const fetcher = this.fetchers[sheet]