2 Commits

Author SHA1 Message Date
Lachlan Kermode
60024a0479 build blueprints after update 2018-12-10 13:15:03 +00:00
Lachlan Kermode
8578bf3ae1 bind this context when currying 2018-12-10 13:13:48 +00:00

View File

@@ -57,7 +57,7 @@ class Fetcher {
this.auth = null
/** curry to allow convenient syntax with map */
this._saveViaBlueprinter = R.curry(this._saveViaBlueprinter)
this._saveViaBlueprinter = R.curry(this._saveViaBlueprinter.bind(this))
}
_buildBlueprintsAsync () {
@@ -155,6 +155,7 @@ class Fetcher {
})
)
})
.then(this._buildBlueprintsAsync())
.then(() => true)
.catch(() => false)
}