don't pass headers through to jobs

This commit is contained in:
2016-07-08 17:46:30 -07:00
parent c44d275395
commit b99f5ff1b9
2 changed files with 0 additions and 11 deletions

View File

@@ -47,8 +47,6 @@ export default class Job extends events.EventEmitter {
}
};
if (options.headers) indexParams.headers = options.headers;
this.ready = createIndex(this.client, this.index, this.doctype, this.indexSettings)
.then(() => this.client.index(indexParams))
.then((doc) => {