mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-10 20:38:32 +03:00
add xlsx support
by factoring out a Fetcher class
This commit is contained in:
@@ -22,6 +22,7 @@ class Controller {
|
||||
update () {
|
||||
return Promise.all(
|
||||
Object.keys(this.fetchers).map(sheet => {
|
||||
console.log(sheet)
|
||||
return this.fetchers[sheet].update()
|
||||
})
|
||||
).then(results => {
|
||||
|
||||
Reference in New Issue
Block a user