apped job index to event
This commit is contained in:
@@ -53,6 +53,7 @@ export default class Job extends events.EventEmitter {
|
|||||||
this.document = {
|
this.document = {
|
||||||
id: doc._id,
|
id: doc._id,
|
||||||
type: doc._type,
|
type: doc._type,
|
||||||
|
index: doc._index,
|
||||||
version: doc._version,
|
version: doc._version,
|
||||||
};
|
};
|
||||||
this.debug(`Job created in index ${this.index}`);
|
this.debug(`Job created in index ${this.index}`);
|
||||||
|
|||||||
Reference in New Issue
Block a user