Merge pull request #181 from Hornwitser/patch-1

Fix wrong argument order
This commit is contained in:
Godmave authored and GitHub committed 2019-07-26 18:53:58 +02:00
commit 95d06293f5
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ class ResearchSync {
request_cluster_data() {
const slaves_data_url = `${this.config.masterIP}:${this.config.masterPort}/api/slaves`
needle.get(slaves_data_url, this.sync_researches.bind(this), {compressed:true})
needle.get(slaves_data_url, {compressed:true}, this.sync_researches.bind(this))
}
sync_researches(err, resp, slaves_data) {