Commit eee49c27 authored by Tobias Steiner's avatar Tobias Steiner
Browse files

Re-add metadata

parent 44a6bad2
......@@ -46,6 +46,7 @@ export class ElasticsearchTransformer extends Transform {
}
public async _transform(chunk, encoding, callback) {
this.batch.push(this.prepareMeta(chunk.parsed));
this.batch.push(this.prepareData(chunk.parsed));
if (this.batch.length > this.batchSize) {
try {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment