don't pass headers through to jobs
This commit is contained in:
@@ -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) => {
|
||||
|
||||
Reference in New Issue
Block a user