mirror of
https://github.com/bellingcat/datasheet-server.git
synced 2026-06-10 20:38:32 +03:00
bind this context when currying
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user